Created
October 6, 2019 07:38
-
-
Save ufukhawk/e3492c7acb6adb7b7f3debbd55bd6215 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 class IconView : View | |
{ | |
#region ForegroundProperty | |
public static readonly BindableProperty ForegroundProperty = BindableProperty.Create(nameof(Foreground), typeof(Color), typeof(IconView), default(Color)); | |
public Color Foreground { | |
get { | |
return (Color)GetValue (ForegroundProperty); | |
} | |
set { | |
SetValue (ForegroundProperty, value); | |
} | |
} | |
#endregion | |
#region SourceProperty | |
public static readonly BindableProperty SourceProperty = BindableProperty.Create(nameof(Source), typeof(string), typeof(IconView), default(string)); | |
public string Source { | |
get { | |
return (string)GetValue (SourceProperty); | |
} | |
set { | |
SetValue (SourceProperty, value); | |
} | |
} | |
#endregion | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment