AvaloniaMauiHybrid icon indicating copy to clipboard operation
AvaloniaMauiHybrid copied to clipboard

Creating MAUI Handler from Avalonia and replacing maui native handlers

Open AswinPG opened this issue 2 years ago • 2 comments

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

AswinPG avatar Feb 26 '23 19:02 AswinPG

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

giuseppenovielli avatar Feb 17 '24 09:02 giuseppenovielli