DXMenuItem.Collection Property

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

Namespace: DevExpress.Utils.Menu

Assembly: DevExpress.Utils.v20.1.dll

Declaration

public DXMenuItemCollection Collection { get; }
Public ReadOnly Property Collection As DXMenuItemCollection

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