TextBox.PlaceholderText TextBox.PlaceholderText TextBox.PlaceholderText TextBox.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
<TextBox 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 ("").