NavigationView.AutoSuggestBox Property
Definition
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 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.