TextBox.UseSystemPasswordChar プロパティ
定義
public:
property bool UseSystemPasswordChar { bool get(); void set(bool value); };
public bool UseSystemPasswordChar { get; set; }
member this.UseSystemPasswordChar : bool with get, set
Public Property UseSystemPasswordChar As Boolean
プロパティ値
TextBox コントロール内のテキストを既定のパスワード文字として表示する場合は true
。それ以外の場合は false
。true
if the text in the TextBox control should appear as the default password character; otherwise, false
.
注釈
プロパティは、 PasswordCharプロパティよりも優先されます。 UseSystemPasswordCharThe UseSystemPasswordChar property has precedence over the PasswordChar property. がにtrue
設定されている場合、既定のシステムパスワード文字が使用されPasswordChar 、によって設定された文字はすべて無視されます。 UseSystemPasswordCharWhenever the UseSystemPasswordChar is set to true
, the default system password character is used and any character set by PasswordChar is ignored.
重要
UseSystemPasswordChar TextBox PasswordChar 、、ReadOnlyまたはがtrue
の場合、がパスワードモードになっていると、は制限モードになります。 TextBoxWhen the TextBox is in password mode because PasswordChar, UseSystemPasswordChar, or ReadOnly is true
, the TextBox is in restricted mode. このモードImeModeでは、は無効になっていますが、現在のが無制限になったTextBox場合に復元できるように、現在ImeModeのがキャッシュされています。In this mode, the ImeMode is disabled, but the current ImeMode is cached so that it can be restored if the TextBox ever becomes unrestricted. のReadOnly切り替えは一般的なシナリオです。Toggling the ReadOnly is a common scenario. コントロールImeModeが制限モードのときは、がシャドウされます。The ImeMode is shadowed while the control is in restricted mode. デザイナーの観点から見るImeModeと、表示される値は実際の値です。From the designer perspective, the ImeMode value shown is the actual value.