Skip to main content

GridMenuItemClickEventArgs.Column Property

Gets the column whose footer cell or header was clicked to invoke a context menu.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

public GridColumn Column { get; }

Property Value

Type Description
GridColumn

A GridColumn object or descendant representing the column whose footer cell or header was clicked to invoke a menu. null (Nothing in Visual Basic) if a group panel’s menu item was clicked.

Remarks

Use the Column property when the GridMenuItemClickEventArgs.MenuType property value is either GridMenuType.Column or GridMenuType.Summary. This enables you to implement different behavior for menu items that belong to different columns’ context menus.

See Also