Skip to content

Instantly share code, notes, and snippets.

@Sa1Gur
Last active June 8, 2019 23:57
Show Gist options
  • Save Sa1Gur/0fb0b512c41d2045abf653d22aab18a7 to your computer and use it in GitHub Desktop.
Save Sa1Gur/0fb0b512c41d2045abf653d22aab18a7 to your computer and use it in GitHub Desktop.
#region Bindable Properties
public static readonly BindableProperty MyHighlightColorProperty = BindableProperty.Create(nameof(MyHighlightColor), typeof(Color), typeof(MyEntry));
public static readonly BindableProperty MyHandleColorProperty = BindableProperty.Create(nameof(MyHandleColor), typeof(Color), typeof(MyEntry));
public static readonly BindableProperty MyTintColorProperty = BindableProperty.Create(nameof(MyTintColor), typeof(Color), typeof(MyEntry));
#endregion
#region Properties
public Color MyHighlightColor
{
get => (Color)GetValue(MyHighlightColorProperty);
set => SetValue(MyHighlightColorProperty, value);
}
public Color MyHandleColor
{
get => (Color)GetValue(MyHandleColorProperty);
set => SetValue(MyHandleColorProperty, value);
}
public Color MyTintColor
{
get => (Color)GetValue(MyTintColorProperty);
set => SetValue(MyTintColorProperty, value);
}
#endregion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment