Skip to content

Instantly share code, notes, and snippets.

@Sa1Gur
Last active December 2, 2019 14:45
Show Gist options
  • Save Sa1Gur/4442aa2c1ab15e93f52896abf6187e62 to your computer and use it in GitHub Desktop.
Save Sa1Gur/4442aa2c1ab15e93f52896abf6187e62 to your computer and use it in GitHub Desktop.
public static readonly BindableProperty MyHighlightColorProperty = BindableProperty.Create(nameof(MyHighlightColor), typeof(Color), typeof(MyMaterialEntry));
public static readonly BindableProperty MyHandleColorProperty = BindableProperty.Create(nameof(MyHandleColor), typeof(Color), typeof(MyMaterialEntry));
public static readonly BindableProperty MyTintColorProperty = BindableProperty.Create(nameof(MyTintColor), typeof(Color), typeof(MyMaterialEntry));
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);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment