PasswordRevealMode PasswordRevealMode PasswordRevealMode PasswordRevealMode Enum

Definition

Defines constants that specify the password reveal behavior of a PasswordBox.

public : enum class PasswordRevealMode
enum class winrt::Windows::UI::Xaml::Controls::PasswordRevealMode : int32_t
public enum PasswordRevealMode
Public Enum PasswordRevealMode
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Hidden Hidden Hidden Hidden 1

The password reveal button is not visible. The password is always obscured.

Peek Peek Peek Peek 0

The password reveal button is visible. The password is not obscured while the button is pressed.

Visible Visible Visible Visible 2

The password reveal button is not visible. The password is not obscured.

Remarks

See the PasswordBox.PasswordRevealMode property for more info and examples.

See also