AvaloniaUI / AvaloniaMauiHybrid

Brings templated controls, pixel perfect rendering, animations, styling and composition to Maui
MIT License
170 stars 13 forks source link

Creating MAUI Handler from Avalonia and replacing maui native handlers #5

Open AswinPG opened 1 year ago

AswinPG commented 1 year ago

Is it possible to create handlers for maui Controls using Avalonia controls instead of native handlers? If that is possible then wouldn't it be like all the work is already done for maui to have a drawn backend ? All we need to do would be to create mappers that maps the Maui IView's property to Avalonia UI controls right ?

@jsuarezruiz

giuseppenovielli commented 6 months ago

Yes with one single handlers, for example a MAUI.Button or MAUI.StackLayout with Avalonia Handlers, MAUI can support all Avalonia platform, i think for example browsers, Linux and also old Windows 7. https://avaloniaui.net/Platforms

Avalonia could be embedded into MAUI thanks to MAUI Architecture. https://github.com/dotnet/maui/discussions/62 https://github.com/dotnet/maui/issues/4528 https://github.com/dotnet/maui/discussions/339 https://github.com/dotnet/maui/discussions/3051