SearchSettingsDataSource.SearchTrimsWhitespaces 属性

定义

确定在启动搜索或将项添加到最近使用的 (MRU) 列表之前,公共搜索控件是否在搜索字符串的开头和结尾处修整空白。 默认值为 true ; 在使用之前,将从字符串中裁剪空白。

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

属性值

Boolean

如果在使用搜索字符串前应剪裁空白,则为 true。

适用于