SearchSettingsDataSource.SearchWatermark Property

Gets or sets the value indicating the string to display in the Visual Studio common search control when it is empty and does not have the focus. Default is “Search”.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Public Property SearchWatermark As String
public string SearchWatermark { get; set; }
public:
property String^ SearchWatermark {
    String^ get ();
    void set (String^ value);
}
member SearchWatermark : string with get, set
function get SearchWatermark () : String 
function set SearchWatermark (value : String)

Property Value

Type: System.String
Returns the watermark string of the search control.

.NET Framework Security

See Also

Reference

SearchSettingsDataSource Class

Microsoft.VisualStudio.PlatformUI Namespace