Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
PasswordBox.PasswordChar Property
Definition
- Namespace:
- Microsoft.UI.Xaml.Controls
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
A masking character to echo when the user enters text into the PasswordBox. The default value is a bullet character (●).
Applies to
Feedback
Was this page helpful?
