Share via


SearchSettingsDataSource.SearchTrimsWhitespaces Property

Definition

Determines whether the common search control trims whitespace from the beginning and end of the search string before starting a search or adding the item to the most-recently-used (MRU) list. Default is true; whitespace is trimmed from the string before it is used.

public:
 property bool SearchTrimsWhitespaces { bool get(); void set(bool value); };
public:
 property bool SearchTrimsWhitespaces { bool get(); void set(bool value); };
public bool SearchTrimsWhitespaces { get; set; }
member this.SearchTrimsWhitespaces : bool with get, set
Public Property SearchTrimsWhitespaces As Boolean

Property Value

true if whitespace should be trimmed before using the search string.

Applies to