WatermarkedTextBox Class

Definition

Represents a TextBox that can display watermark text when empty.

C++
public ref class WatermarkedTextBox : System::Windows::Controls::TextBox
Inheritance
WatermarkedTextBox

Constructors

Fields

Properties

Watermark

Gets or sets the watermark text to be display when the text box is empty.

WatermarkForeground
WatermarkVerticalAlignment

Applies to

Product Versions
Visual Studio SDK 2019, 2022