NavigationView.AutoSuggestBox Property


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).

 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
    <AutoSuggestBox .../>
- or -
<NavigationView AutoSuggestBox="resourceReferenceToAutoSuggestBox"/>

Property Value


An AutoSuggestBox box to be displayed in the NavigationView.

Applies to