AutoSuggestBox.PlaceholderText Property

Definition

Gets or sets the placeholder text to be displayed in the control.

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"/>

Property Value

String

Platform::String

winrt::hstring

The placeholder text to be displayed in the control. The default is an empty string.

Applies to