PasswordBox.PlaceholderText プロパティ

定義

ユーザー アクションまたはその他の操作によって値が変更されるまでコントロールに表示されるテキストを取得または設定します。

public:
 property Platform::String ^ PlaceholderText { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring PlaceholderText();

void PlaceholderText(winrt::hstring value);
public string PlaceholderText { get; set; }
var string = passwordBox.placeholderText;
passwordBox.placeholderText = string;
Public Property PlaceholderText As String
<PasswordBox PlaceholderText="placeholderString"/>

プロパティ値

String

Platform::String

winrt::hstring

値が入力されていないときにコントロールに表示されるテキスト。 既定値は、空の文字列 ("") です。

適用対象