Xceed DataGrid for Silverlight Documentation
WatermarkTextBox Class
Members 


Represents a text box that allows the use of a watermark in the editable field.
Syntax
'Declaration
 
<TemplateVisualStateAttribute(Name="WatermarkHidden", GroupName="WatermarkStates")>
<TemplatePartAttribute(Name="WatermarkPresenter", Type=System.Windows.Controls.ContentPresenter)>
<TemplateVisualStateAttribute(GroupName="WatermarkStates", Name="WatermarkVisible")>
Public Class WatermarkTextBox 
   Inherits AutoSelectTextBox
   Implements MS.Internal.IManagedPeer, MS.Internal.IManagedPeerBase, MS.Internal.INativeCoreTypeWrapper 
'Usage
 
Dim instance As WatermarkTextBox
[TemplateVisualStateAttribute(Name="WatermarkHidden", GroupName="WatermarkStates")]
[TemplatePartAttribute(Name="WatermarkPresenter", Type=System.Windows.Controls.ContentPresenter)]
[TemplateVisualStateAttribute(GroupName="WatermarkStates", Name="WatermarkVisible")]
public class WatermarkTextBox : AutoSelectTextBox, MS.Internal.IManagedPeer, MS.Internal.IManagedPeerBase, MS.Internal.INativeCoreTypeWrapper  
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

Requirements

Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family

See Also

Reference

WatermarkTextBox Members
Xceed.Silverlight.Controls Namespace

Send Feedback