Skip to main content

GridMenuEventArgs.MenuType Property

Gets the context menu’s type.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public GridMenuType? MenuType { get; }

Property Value

Type Description
Nullable<GridMenuType>

A GridMenuType enumeration value that identifies the context menu.

Available values:

Show 12 items
Name Description
Column

Corresponds to a menu invoked for a column header.

GridMenuType_Column

TotalSummary

Corresponds to a menu invoked for the Summary Panel.

GridMenuType_Summary

RowCell

Corresponds to a menu invoked for the Row Cell.

GroupPanel

Corresponds to a menu invoked for the group panel.

GridMenuType_GroupPanel

FixedTotalSummary

Corresponds to a menu invoked for the Fixed Summary Panel.

fixedsummarycontextmenu

Band

Corresponds to a menu invoked for a band.

band_menu

GroupFooterSummary

Corresponds to a menu invoked for the Group Footer‘s summary.

GridMenuType_Summary

GroupRow

Corresponds to a menu invoked for the group row.

FixRowControl

Corresponds to a menu invoked for a fix row button.

WPF_Grid_FixedRows_ContextMenu.png

CompactPanelSortElement

Corresponds to a menu invoked for sort items in compact panel.

CompactPanelFilter

Corresponds to a menu invoked for a compact panel filter.

CompactPanelMergeMenu

Corresponds to a merged menu invoked for a filter and sort items in compact panel.

Remarks

To learn more, see Context Menus.

See Also