Share via


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

プロパティ値

String

Platform::String

winrt::hstring

コントロールに表示するプレースホルダー テキスト。 既定値は空の文字列です。

適用対象