AutoSuggestBox.Text 屬性

定義

取得或設定 控件中顯示的文字。

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

void Text(winrt::hstring value);
public string Text { get; set; }
var string = autoSuggestBox.text;
autoSuggestBox.text = string;
Public Property Text As String

屬性值

String

Platform::String

winrt::hstring

控件中顯示的文字。

備註

此屬性通常不會在 XAML 中設定。

適用於