Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / SearchControl Class / WatermarkWhenNotFocused Property


In This Topic
    WatermarkWhenNotFocused Property
    In This Topic
    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