Skip to main content
A newer version of this page is available. .

GridControl.ContextMenuStrip Property

Gets or sets a ContextMenuStrip object associated with the grid control.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v19.1.dll

Declaration

public override ContextMenuStrip ContextMenuStrip { get; set; }

Property Value

Type Description
ContextMenuStrip

A ContextMenuStrip object associated with the grid control.

Remarks

GridControl supports built-in menus for its specific elements (for instance, the Group Panel Context Menu and Column Header Context Menu). The ContextMenuStrip, if specified, is displayed when you click a grid element that doesn’t provide a built-in context menu.

See Popup Menus to learn more.

See Also