Delen via


MenuBarItem.Items Property

Definition

Gets the collection of commands in a MenuBar menu.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.MenuBarItem.Items (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; }
var iVector = menuBarItem.items;
Public ReadOnly Property Items As IList(Of MenuFlyoutItemBase)

Property Value

The collection of commands in a MenuBar menu.

Applies to