Skip to content

Unidirectional binding library built on top of Gjallarhorn for WPF and Xamarin Forms

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt
Notifications You must be signed in to change notification settings

ReedCopsey/Gjallarhorn.Bindable

Repository files navigation

Gjallarhorn.Bindable

Unidirectional binding library built on top of Gjallarhorn for WPF, Xamarin Forms and Avalonia.

To install library into the project use following NuGet-packages:

Gjallarhorn.Bindable.Wpf Gjallarhorn.Bindable.Avalonia Gjallarhorn.Bindable.XamarinForms

Known issues:

  1. Using PropertyPath in bindings:

Gjallarhorn.Bindable provides helper properties in form of:

propertyName + "-Errors"

and

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 FrameworkSimpleForm:

Text="{Binding FirstName-Errors[0]}"

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

  1. UIType.Messages

Currently Avalonia doesn't contain implementation of MessageBox:

#670 - Native MessageBox API

To achieve result, similar to one that WPF has, you could create helper window MessageWindow and show it via Navigation.Page.dialog.

Also, there are couple implementation:

as separate NuGet-library

MessageBox.Avalonia

or as part of the big project:

MessageBox.xaml

About

Unidirectional binding library built on top of Gjallarhorn for WPF and Xamarin Forms

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages