GridMenuEventArgs.Items Property

Gets the menu items contained within the context menu.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.1.Core.dll

Declaration

public ReadOnlyCollection<BarItem> Items { get; }
Public ReadOnly Property Items As ReadOnlyCollection(Of BarItem)

Property Value

Type Description
ReadOnlyCollection<BarItem>

The read-only collection of BarItem descendants that represent menu items contained within the context menu.

Remarks

The Items collection contains menu items currently contained within the processed context menu. To customize this menu (add new items and/or remove existing items), use the methods provided by GridMenuEventArgs.Customizations. To learn more, see Context Menus.

See Also