Skip to content

SuperJMN-Zafiro/Zafiro.Avalonia

Repository files navigation

Zafiro.Avalonia

This library offers common (and useful) features to Avalonia based applications.

Some of the most important highlights of the library are:

Dialogs

A very convenient way to show dialogs for both mobile and desktop.

Dialogs.desktop.mp4

Notification Service

  • Useful service to show notifications from ViewModels.

Controls

  • MasterDetailsView. Side list with items. Details are shown when an item is selected.
  • AdaptiveControl. Has 2 templates: one for portrait and another for landscape.

WizardControl

Offers a nice way to show wizards (multiple steps).

Wizard.mp4

StringEditorControl

Looks like a TextBlock, but it's editable (and validatable!).

StringEditorControl.mp4

Misc

  • NamingConventionViewLocator. A data template that finds views for ViewModels by naming convention (ViewModel => View) AKA "ViewLocator" in AvaloniaUI templates.
  • ReturnExtension. A markup extension that can be used to return observables in design-time data (as part of Design.PreviewWith).

More info

Please, take a look to the Samples inside the solution.