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.v22.2.dll
NuGet Package: DevExpress.Win.Grid
Declaration
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.