Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

NavigationView.MenuItems 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 the collection of menu items displayed in the NavigationView.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property IVector<Platform::Object ^> ^ MenuItems { IVector<Platform::Object ^> ^ get(); };
IVector<IInspectable> MenuItems();
public IList<object> MenuItems { get; }
Public ReadOnly Property MenuItems As IList(Of Object)

Property Value

IList<Object>

IVector<Platform::Object>

IVector<IInspectable>

The collection of menu items displayed in the NavigationView. The default is an empty collection.

Applies to


Feedback

Was this page helpful?