AutoSuggestBox.Text Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the text that is shown in the control.
public:
property Platform::String ^ Text { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Text();
void Text(winrt::hstring value);
C#
public string Text { get; set; }
var string = autoSuggestBox.text;
autoSuggestBox.text = string;
Public Property Text As String
The text that is shown in the control.
This property is not typically set in XAML.
Product | Versions |
---|---|
Windows App SDK | 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 |