diff options
Diffstat (limited to 'Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla37863.cs')
-rw-r--r-- | Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla37863.cs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla37863.cs b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla37863.cs new file mode 100644 index 00000000..4dd635c4 --- /dev/null +++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla37863.cs @@ -0,0 +1,26 @@ +using Xamarin.Forms.CustomAttributes; + +namespace Xamarin.Forms.Controls +{ + [Preserve (AllMembers = true)] + [Issue (IssueTracker.Bugzilla, 37863, "Password is readable when Entry.IsEnabled is false ", + PlatformAffected.WinPhone)] + public class Bugzilla37863 : TestContentPage + { + protected override void Init () + { + var label = new Label { + Text = + "Click the button to toggle IsEnabled on the password entry below. The actual password text should never show. If the text shows, the test has failed." + }; + var entry = new Entry { IsPassword = true, Text = "swordfish" }; + var button = new Button { Text = "Toggle IsEnabled" }; + + button.Clicked += (sender, args) => { entry.IsEnabled = !entry.IsEnabled; }; + + Content = new StackLayout { + Children = { label, entry, button } + }; + } + } +}
\ No newline at end of file |