Share via


AutoSuggestBox.UpdateTextOnSelect 属性

定义

TextMemberPath 一起使用时,获取或设置一个值,该值指示视图中的项目在单击时是否会触发 AutoSuggestBox 的可编辑文本部分的更新。

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

void UpdateTextOnSelect(bool value);
public bool UpdateTextOnSelect { get; set; }
var boolean = autoSuggestBox.updateTextOnSelect;
autoSuggestBox.updateTextOnSelect = boolean;
Public Property UpdateTextOnSelect As Boolean
<AutoSuggestBox UpdateTextOnSelect="bool"/>

属性值

Boolean

bool

一个 值,该值指示视图中的项目在单击时是否会触发 AutoSuggestBox 的可编辑文本部分的更新。

适用于