-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.AutoSuggestBox.TextBoxStyle |
winrt property |
Gets or sets the style of the auto-suggest text box.
<AutoSuggestBox TextBoxStyle={StaticResource styleResourceKey}/>
- or -
<AutoSuggestBox>
<AutoSuggestBox.TextBoxStyle>
<Style TargetType="TextBox">
oneOrMoreSetters
</Style>
</AutoSuggestBox.TextBoxStyle>
</AutoSuggestBox>
- styleResourceKey
- styleResourceKeyThe key that identifies the style being requested. The key refers to an existing resource in a ResourceDictionary.
- oneOrMoreSetters
- oneOrMoreSettersOne or more Setter elements with Property attributes that target the dependency properties of the TextBox component of the AutoSuggestBox template.