This file contains 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 HybridWebView : WebView | |
{ | |
public HybridWebView() | |
{ | |
} | |
public static readonly BindableProperty UsernameProperty = | |
BindableProperty.Create("UserName", typeof(string), typeof(HybridWebView), null, BindingMode.TwoWay); | |
public static readonly BindableProperty PasswordProperty = | |
BindableProperty.Create("Pwd", typeof(string), typeof(HybridWebView), null, BindingMode.TwoWay); | |
public string Username | |
{ | |
get { return GetValue(UsernameProperty).ToString(); } | |
set { SetValue(UsernameProperty, value); } | |
} | |
public string Password | |
{ | |
get { return GetValue(PasswordProperty).ToString(); } | |
set { SetValue(PasswordProperty, value); } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment