Xceed DataGrid for WPF v7.2 Documentation
Watermark Property (SearchControl)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > SearchControl Class : Watermark Property
Gets or sets the text to display in the search TextBox when no user value is currently specified (when the SearchControl does have the focus).
Syntax
'Declaration
 
Public Property Watermark As String
'Usage
 
Dim instance As SearchControl

Dim value As String

 

instance.Watermark = value

 

value = instance.Watermark
public string Watermark {get; set;}

Property Value

The watermark text to display in the search TextBox (when the SearchControl does have the focus). By default, "Search".
Remarks
See the WatermarkWhenNotFocused property to get/set the watermark text to display when the SearchControl does not have the focus.
Requirements

Target Platforms: Windows 11, Windows, 10, 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

SearchControl Class
SearchControl Members