Share via


NavigationView.AutoSuggestBox Property

Definition

Gets or sets an AutoSuggestBox to be displayed in the NavigationView.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationView.AutoSuggestBox (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

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"/>

Property Value

An AutoSuggestBox box to be displayed in the NavigationView.

Applies to