Xceed DataGrid for WPF v7.2 Documentation
WatermarkWhenNotFocused Property


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

Dim value As String

 

instance.WatermarkWhenNotFocused = value

 

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

Property Value

The watermark text to display in the search TextBox (when the SearchControl does not have the focus). By default, "Search (Ctrl-F)".
Remarks
See the Watermark property to get/set the watermark text to display when the SearchControl does 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