Share via


WatermarkedTextBox Class

Definition

Represents a TextBox that can display watermark text when empty.

public ref class WatermarkedTextBox : System::Windows::Controls::TextBox
public class WatermarkedTextBox : System.Windows.Controls.TextBox
type WatermarkedTextBox = class
    inherit TextBox
Public Class WatermarkedTextBox
Inherits TextBox
Inheritance
WatermarkedTextBox

Constructors

Name Description
WatermarkedTextBox()

Fields

Name Description
WatermarkForegroundProperty
WatermarkProperty

Identifies the Watermark dependency property.

WatermarkVerticalAlignmentProperty

Properties

Name Description
Watermark

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

WatermarkForeground
WatermarkVerticalAlignment

Applies to