Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
lib
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages

You can’t perform that action at this time.