EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

PasswordBox.IsPasswordRevealButtonEnabled property

Applies to Windows and Windows Phone

Gets or sets a value that specifies whether the visual UI of the PasswordBox includes a button element that toggles showing or hiding the typed characters.

Syntax


public bool IsPasswordRevealButtonEnabled { get; set; }


<PasswordBox IsPasswordRevealButtonEnabled="bool" />

Property value

Type: System.Boolean [.NET] | Platform::Boolean [C++]

True to show a password reveal button; false to not show a password reveal button. The default is false.

Remarks

The value of this property is not the only factor that determines whether a password reveal button is visible to the user in UI. Other factors include whether the control is displayed above a minimum width, whether the PasswordBox has focus, and whether the text entry field contains at least one character.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

PasswordBox

 

 

Mostrar:
© 2014 Microsoft. Todos os direitos reservados.