Skip to content

Instantly share code, notes, and snippets.

@foxanna
Created September 16, 2018 10:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save foxanna/fbdde2079fad3d05423a01fbce8e9d25 to your computer and use it in GitHub Desktop.
Save foxanna/fbdde2079fad3d05423a01fbce8e9d25 to your computer and use it in GitHub Desktop.
namespace <project>.Droid.Controls
{
public class CustomEditText : FormsEditText
{
public CustomEditText(Context context) : base(context)
{
}
protected override void OnAttachedToWindow()
{
base.OnAttachedToWindow();
Enabled = false;
Enabled = true;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment