Skip to main content

DXMenuItem.Collection Property

Gets the menu item collection which owns the current menu item.

Namespace: DevExpress.Utils.Menu

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

public DXMenuItemCollection Collection { get; }

Property Value

Type Description
DevExpress.Utils.Menu.DXMenuItemCollection

A DevExpress.Utils.Menu.DXMenuItemCollection collection which owns the current menu item.

Remarks

When a menu item is added to a menu this property is automatically initialized. It returns the collection of menu items that belong to this menu.

A menu is represented by the DXPopupMenu class descendant.

See Also