TextBox.PlaceholderText Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.