CalendarDatePicker.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 = calendarDatePicker.placeholderText;
calendarDatePicker.placeholderText = string;
Public Property PlaceholderText As String
<CalendarDatePicker PlaceholderText="string"/>

プロパティ値

String

Platform::String

winrt::hstring

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

適用対象