Edit

Share via


TextBox.PlaceholderText Property

Definition

Gets or sets the text that is displayed when the control has no text and does not have the focus.

public:
 virtual property System::String ^ PlaceholderText { System::String ^ get(); void set(System::String ^ value); };
public virtual string PlaceholderText { get; set; }
member this.PlaceholderText : string with get, set
Public Overridable Property PlaceholderText As String

Property Value

The text that is displayed when the control has no text and does not have the focus.

Applies to