SearchBox.PlaceholderText SearchBox.PlaceholderText SearchBox.PlaceholderText SearchBox.PlaceholderText Property

Definition

Gets or sets the text that is displayed in the control until the value is changed by a user action or some other operation.

public : Platform::String PlaceholderText { get; set; }
winrt::hstring PlaceholderText();

void PlaceholderText(winrt::hstring placeholdertext);
public string PlaceholderText { get; set; }
Public ReadWrite Property PlaceholderText As string
<SearchBox PlaceholderText="placeholderString"/>

Property Value

string string

The text that is displayed in the control when no value is entered. The default is an empty string (""). The maximum placeholder text length is 128 characters.