AutoSuggestBox.TextMemberPath 屬性

定義

取得或設定屬性路徑,用於在選取專案時,取得 AutoSuggestBox 控件文本框中顯示的值。

public:
 property Platform::String ^ TextMemberPath { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring TextMemberPath();

void TextMemberPath(winrt::hstring value);
public string TextMemberPath { get; set; }
var string = autoSuggestBox.textMemberPath;
autoSuggestBox.textMemberPath = string;
Public Property TextMemberPath As String
<AutoSuggestBox TextMemberPath="propertyName"/>

屬性值

String

Platform::String

winrt::hstring

選取專案時,用來取得 AutoSuggestBox 控件文本框中顯示值的屬性路徑。

適用於