Partilhar 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

WatermarkedTextBox()

Fields

WatermarkForegroundProperty
WatermarkProperty

Identifies the Watermark dependency property.

WatermarkVerticalAlignmentProperty

Properties

Watermark

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

WatermarkForeground
WatermarkVerticalAlignment

Applies to