Unidirectional binding library built on top of Gjallarhorn for WPF, Xamarin Forms and Avalonia.
To install library into the project use following NuGet-packages:
- Using PropertyPath in bindings:
Gjallarhorn.Bindable provides helper properties in form of:
propertyName + "-Errors"
propertyName + "-IsValid"
that can be serve, for example, to show error message separately.
Sample that illustrates applying of those properties in the WPF project is
Avalonia doesn't allow using dashes in PropertyName, therefore attempt to use these properties in bindings raises exception inside of Avalonia. It might be changed in the next versions but for now it's impossible. See original issue for additional information #2621 - Chars restriction for PropertyPath
Currently Avalonia doesn't contain implementation of MessageBox:
To achieve result, similar to one that WPF has, you could create helper window
MessageWindow and show it via
Also, there are couple implementation:
as separate NuGet-library
or as part of the big project: