Xamarin: Visual State Manager and custom properties
问题 I am trying to set a custom property on a custom control using the Visual State Manager but I'm not having any luck so far. My custom control is just a label with an additional bindable property on it. public class SelectableLabel : Label { public static readonly BindableProperty IsSelectedProperty = BindableProperty.Create("IsSelected", typeof(bool), typeof(SelectableLabel), false); public bool IsSelected { get { return (bool)GetValue(IsSelectedProperty); } set { Console.WriteLine($"MDO: