Created
October 26, 2017 21:18
-
-
Save Char0394/51f3e7021370211c902c13c602bdead4 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 ExtendedEntry : Entry | |
| { | |
| public static readonly BindableProperty IsBorderErrorVisibleProperty = | |
| BindableProperty.Create(nameof(IsBorderErrorVisible), typeof(bool), typeof(ExtendedEntry), false, BindingMode.TwoWay); | |
| public bool IsBorderErrorVisible | |
| { | |
| get { return (bool)GetValue(IsBorderErrorVisibleProperty); } | |
| set | |
| { | |
| SetValue(IsBorderErrorVisibleProperty, value); | |
| } | |
| } | |
| public static readonly BindableProperty BorderErrorColorProperty = | |
| BindableProperty.Create(nameof(BorderErrorColor), typeof(Xamarin.Forms.Color), typeof(ExtendedEntry), Xamarin.Forms.Color.Transparent, BindingMode.TwoWay); | |
| public Xamarin.Forms.Color BorderErrorColor | |
| { | |
| get { return (Xamarin.Forms.Color)GetValue(BorderErrorColorProperty); } | |
| set | |
| { | |
| SetValue(BorderErrorColorProperty, value); | |
| } | |
| } | |
| public static readonly BindableProperty ErrorTextProperty = | |
| BindableProperty.Create(nameof(ErrorText), typeof(string), typeof(ExtendedEntry), string.Empty); | |
| public string ErrorText | |
| { | |
| get { return (string)GetValue(ErrorTextProperty); } | |
| set | |
| { | |
| SetValue(ErrorTextProperty, value); | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment