Prism (https://github.com/PrismLibrary/Prism) framework support for Avalonia UI.
This library actually copies functionality of Prism for WPF implementation, which can be found here: https://github.com/PrismLibrary/Prism/tree/master/Source/Wpf
Logic and approach for development of your applications remained the same as it was for Prism.Wpf library.
Also, I should say that because this port was made in a few days in a rush-mode without deep knowledge of Avalonia's internal mechanisms and because of differences in runtime platforms, not everything was ported (list below), in addition of course you can confront with various bugs. I will use this port in my internalwork projects, so by developing applications I'll fix bugs or invalid behaviours which can occur on my path, but issues and pull requests are welcome too!
Not ported/supported features and other problems:
- Prism.Avalonia not supports ability to bind Region to ItemsSource/Selector element
- ViewInjection for regions will not work
- DirectoryCatalog implementation of ModuleCatalog
- Not all tests are reproducible because of runtime or avalonia capabilities
ModulesSample on Ubuntu 16.04 | ModulesSample on Windows 10 |
---|---|