Back to Devexpress

GridMenuItemClickEventArgs.Column Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridmenuitemclickeventargs-e887a0a7.md

latest2.0 KB
Original Source

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.v25.2.dll

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

Declaration

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

Property Value

TypeDescription
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

GridMenuItemClickEventArgs Class

GridMenuItemClickEventArgs Members

DevExpress.XtraGrid.Views.Grid Namespace