Share via


MenuBarItem.Items Property

Definition

Gets the collection of commands in a MenuBar menu.

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

public:
 property IVector<MenuFlyoutItemBase ^> ^ Items { IVector<MenuFlyoutItemBase ^> ^ get(); };
IVector<MenuFlyoutItemBase> Items();
public IList<MenuFlyoutItemBase> Items { get; }
Public ReadOnly Property Items As IList(Of MenuFlyoutItemBase)

Property Value

The collection of commands in a MenuBar menu.

Applies to