SearchBox.ChooseSuggestionOnEnter 属性

定义

获取或设置一个值,该值确定是否在用户按 Enter 时激活建议的搜索查询。

public:
 property bool ChooseSuggestionOnEnter { bool get(); void set(bool value); };
bool ChooseSuggestionOnEnter();

void ChooseSuggestionOnEnter(bool value);
public bool ChooseSuggestionOnEnter { get; set; }
var boolean = searchBox.chooseSuggestionOnEnter;
searchBox.chooseSuggestionOnEnter = boolean;
Public Property ChooseSuggestionOnEnter As Boolean
<SearchBox ChooseSuggestionOnEnter="bool"/>

属性值

Boolean

bool

如果在用户按 Enter 时激活建议的搜索查询,则为 true;否则为 false。 默认值为 false

适用于