Skip to content

Instantly share code, notes, and snippets.

@Sa1Gur
Created August 16, 2019 21:48
Show Gist options
  • Save Sa1Gur/0bc907002bdd3bd738df7374dfeb01d6 to your computer and use it in GitHub Desktop.
Save Sa1Gur/0bc907002bdd3bd738df7374dfeb01d6 to your computer and use it in GitHub Desktop.
public static readonly BindableProperty LevelProperty = BindableProperty.Create(nameof(Level), typeof(int), typeof(NameAndRating), defaultBindingMode: BindingMode.TwoWay);
public int Level
{
get => (int)GetValue(LevelProperty);
set => SetValue(LevelProperty, value);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment