NumberBox.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 = numberBox.placeholderText;
numberBox.placeholderText = string;
Public Property PlaceholderText As String

プロパティ値

String

Platform::String

winrt::hstring

注釈

プレースホルダー テキストは、 Value が NaN に設定されている場合、またはユーザーが入力をクリアした場合にのみ表示されます。

適用対象