WatermarkedTextBox Class

Definition

public ref class WatermarkedTextBox : System::Windows::Controls::TextBox
[System.Windows.TemplatePart(Name="ContentElement", Type=typeof(System.Windows.Controls.ContentControl))]
[System.Windows.TemplatePart(Name="Watermark", Type=typeof(System.Windows.Controls.ContentControl))]
[System.Windows.TemplatePart(Name="PART_ContentHost", Type=typeof(System.Windows.Controls.ContentControl))]
[System.Windows.TemplateVisualState(GroupName="WatermarkStates", Name="Unwatermarked")]
[System.Windows.TemplateVisualState(GroupName="CommonStates", Name="MouseOver")]
[System.Windows.TemplateVisualState(GroupName="CommonStates", Name="Normal")]
[System.Windows.TemplateVisualState(GroupName="FocusStates", Name="Unfocused")]
[System.Windows.TemplateVisualState(GroupName="CommonStates", Name="Disabled")]
[System.Windows.TemplateVisualState(GroupName="FocusStates", Name="Focused")]
[System.Windows.TemplateVisualState(GroupName="WatermarkStates", Name="Watermarked")]
public class WatermarkedTextBox : System.Windows.Controls.TextBox
type WatermarkedTextBox = class
    inherit TextBox
Public Class WatermarkedTextBox
Inherits TextBox
Inheritance
WatermarkedTextBox
Attributes

Constructors

WatermarkedTextBox()

Fields

WatermarkProperty

Properties

Watermark

Methods

OnApplyTemplate()

Applies to