System.Windows.Forms.MaskedTextBox.UseSystemPasswordChar Property

Gets or sets a value indicating whether the operating system-supplied password character should be used.

Syntax

[System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.Repaint)]
[System.ComponentModel.DefaultValue(false)]
public bool UseSystemPasswordChar { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The MaskedTextBox.UseSystemPasswordChar property determines whether user-supplied input should be displayed in the System.Windows.Forms.MaskedTextBox as multiple occurrences of a password character defined by the operating system. MaskedTextBox.UseSystemPasswordChar functions similarly to the MaskedTextBox.PasswordChar property, but instead of using a programmer-supplied character for the prompt, MaskedTextBox.UseSystemPasswordChar uses a prompt defined by the operating system. This property has precedence over MaskedTextBox.PasswordChar.

Note:

As a security consideration, the System.Windows.Forms.MaskedTextBox control disables cut and copy operations on password-protected strings.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0