語言

AutoSuggestBox.TextMemberPath 屬性

定義

取得或設定屬性路徑,該路徑用於選取項目時,自動 建議框 控制項的文字框部分顯示值。

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 控制項文字框部分顯示值的屬性路徑,當選取項目時。

適用於