News for hackers. Stuff that matters.
Re:Avalonia – A multi-platform .NET UI framework by zem on Sunday July 10, 2016 @03:20AM (#12064844)
what is the support for custom controls like? (i.e. inheriting from a canvas and drawing themselves, while being added as a new widget type to the layout code.)
Re:Avalonia – A multi-platform .NET UI framework by grokys on Sunday July 10, 2016 @09:26AM (#12065491)
Custom controls are supported, although I'm not sure that inheriting from Canvas is the best way to do that. See e.g. https://github.com/Core2D/Core2D for an example of an application with lots of custom controls.
Re:Avalonia – A multi-platform .NET UI framework by wiso on Sunday July 10, 2016 @01:52PM (#12066420)
The support is great, you can see this example [1] of using custom rendering in Canvas being part of UI layout [2]. You can also see Avalonia in action here [3].

[1] https://github.com/wieslawsoltes/SpiroNet/blob/master/src/Sp...

[2] https://github.com/wieslawsoltes/SpiroNet/blob/master/src/Sp...

[3] https://youtu.be/wZK9MPR_UeE