Created
July 12, 2020 07:46
-
-
Save InnovativeTechies/1a5ad3a13701243937d23eb666b662ee to your computer and use it in GitHub Desktop.
This file contains hidden or 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
public static readonly BindableProperty ChipTextProperty = BindableProperty.Create("ChipText", typeof(string), typeof(ChipsControl), default(string),defaultBindingMode:BindingMode.TwoWay,propertyChanged:ChipTextPropertyChanged); | |
private static void ChipTextPropertyChanged(BindableObject bindable, object oldValue, object newValue) | |
{ | |
var control = (ChipsControl)bindable; | |
control.ChipText = newValue.ToString(); | |
} | |
public string ChipText | |
{ | |
get { return (string)GetValue(ChipTextProperty); } | |
set { SetValue(ChipTextProperty, value); } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment