Share via


PasswordBox.PasswordChar Property

Definition

Gets or sets the masking character for the PasswordBox.

public:
 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

String

Platform::String

winrt::hstring

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

Applies to