Created
August 14, 2019 19:19
-
-
Save Sa1Gur/9140da85b20de5712b06194a530c5ecf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[XamlCompilation(XamlCompilationOptions.Compile)] | |
public partial class NameAndRating : Grid | |
{ | |
public NameAndRating() | |
{ | |
InitializeComponent(); | |
} | |
public static readonly BindableProperty NameProperty = BindableProperty.Create(nameof(Name), typeof(string), typeof(NameAndRating), defaultBindingMode: BindingMode.TwoWay); | |
public string Name | |
{ | |
get => (string)GetValue(NameProperty); | |
set => SetValue(NameProperty, value); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment