Xceed Ultimate ListBox for Silverlight Documentation
WatermarkTextBox Class
Members 


Represents a text box that allows the use of a watermark in the editable field.
Syntax
<TemplatePartAttribute(Name="WatermarkPresenter", Type=System.Windows.Controls.ContentPresenter)>
<TemplateVisualStateAttribute(Name="WatermarkHidden", GroupName="WatermarkStates")>
<TemplateVisualStateAttribute(GroupName="WatermarkStates", Name="WatermarkVisible")>
Public Class WatermarkTextBox 
   Inherits AutoSelectTextBox
Dim instance As WatermarkTextBox
[TemplatePartAttribute(Name="WatermarkPresenter", Type=System.Windows.Controls.ContentPresenter)]
[TemplateVisualStateAttribute(Name="WatermarkHidden", GroupName="WatermarkStates")]
[TemplateVisualStateAttribute(GroupName="WatermarkStates", Name="WatermarkVisible")]
public class WatermarkTextBox : AutoSelectTextBox 
Remarks
When the end-user clicks in the editable field, the watermark disappears.
Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.TextBox
                  Xceed.Silverlight.Controls.AutoSelectTextBox
                     Xceed.Silverlight.Controls.WatermarkTextBox
                        Xceed.Silverlight.Controls.SearchTextBox

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WatermarkTextBox Members
Xceed.Silverlight.Controls Namespace

Send Feedback