MaskedTextProvider.IsPassword プロパティ

定義

書式設定された文字列に、パスワードによる保護を適用する必要があるかどうかを決定する値を取得または設定します。

public:
 property bool IsPassword { bool get(); void set(bool value); };
public bool IsPassword { get; set; }
member this.IsPassword : bool with get, set
Public Property IsPassword As Boolean

プロパティ値

入力文字列をパスワード文字列として扱う場合は true。それ以外の場合は false。 既定値は、false です。

注釈

パスワード保護は、次の 2 つの方法のいずれかを使用して開始できます。

IsPasswordは、 メソッドと ToString メソッドによって使用されToDisplayString、実際の入力文字を表示するか、 でPasswordChar隠すかを判断します。

適用対象

こちらもご覧ください