Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GridMenuEventArgs.Items Property

Gets the menu items contained within the context menu.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.2.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public ReadOnlyCollection<BarItem> Items { get; }

#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