GridControl.ContextMenuStrip Property

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

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

public override ContextMenuStrip ContextMenuStrip { get; set; }
Public Overrides Property ContextMenuStrip As ContextMenuStrip

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