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.v20.1.dll

Declaration

public GridColumn Column { get; }
Public ReadOnly Property Column As GridColumn

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