Compartilhar via


NavigationView.AutoSuggestBox Propriedade

Definição

Obtém ou define uma AutoSuggestBox a ser exibida no NavigationView.

API equivalente do WinUI 2 para UWP: Microsoft.UI.Xaml.Controls.NavigationView.AutoSuggestBox (para WinUI no SDK do Aplicativo Windows, consulte os namespaces SDK do Aplicativo Windows).

public:
 property AutoSuggestBox ^ AutoSuggestBox { AutoSuggestBox ^ get(); void set(AutoSuggestBox ^ value); };
AutoSuggestBox AutoSuggestBox();

void AutoSuggestBox(AutoSuggestBox value);
public AutoSuggestBox AutoSuggestBox { get; set; }
var autoSuggestBox = navigationView.autoSuggestBox;
navigationView.autoSuggestBox = autoSuggestBox;
Public Property AutoSuggestBox As AutoSuggestBox
<NavigationView>
  <NavigationView.AutoSuggestBox>
    <AutoSuggestBox .../>
  </NavigationView.AutoSuggestBox>
</NavigationView>
- or -
<NavigationView AutoSuggestBox="resourceReferenceToAutoSuggestBox"/>

Valor da propriedade

Uma caixa AutoSuggestBox a ser exibida no NavigationView.

Aplica-se a