PasswordBox.PasswordChar Property


Gets or sets the masking character for the PasswordBox.

 property Platform::String ^ PasswordChar { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring PasswordChar();

void PasswordChar(winrt::hstring value);
public string PasswordChar { get; set; }
var string = passwordBox.passwordChar;
passwordBox.passwordChar = string;
Public Property PasswordChar As String
<PasswordBox PasswordChar="char"/>

Property Value


A masking character to echo when the user enters text into the PasswordBox. The default value is a bullet character (●).

Applies to