yanlinlin

Results 34 comments of yanlinlin

There's one thing I forget to point out: I can put `DataTemplate` in `ResourceDictionary` and reference it from other projects but it can't apply to models automatically, It must be...

In my projects, I listen `DispatcherUnhandledException` but never mark it handled. I just produce some tips and logs. When use Avalonia, I listen the `AppDomain.UnhandledException` instead. If the exception only...

I have a new idea. How about adding a `DataTemplates` property to `Styles`? Avalonia can also search every `Styles.DataTemplates` like searching `Application.DataTemplates` and `Controls.DataTemplates`. Then we can use `StyleInclude` instead...

I have removed the Ubuntu title bar successfully using `XInternAtom` and `XChangeProperty`. Then I found a simpler way: just set `Window.SystemDecorations` to `BorderOnly` then the title bar disappears and it...

+1 物理内存占用率没什么意义,因为windows对“占用”的计算不合理,从而导致“物理内存还有剩余,但软件会崩溃并提示内存不足”的问题。https://www.zhihu.com/question/335581559/answer/1360140002 @zhongyang219

1.0.98 has the same issue. Downgrading to 1.0.80 solves the problem. The computer is dell g3 3590.

I found 10.18 does not have this bug. So by comparing the stacktrace between 11.0 and 10.18, I found the problem may lays in `PointerOverPreProcessor.ClearPointerOver`. Then I add a simple...

命名空间不对,前面都知道写hc,为什么到后面又要用controls