Skip to main content
All docs
V23.2

VGridOptionsMenuEx.EnableRecordHeaderMenu Property

Gets or sets whether a right-click on a record header invokes a context menu.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v23.2.dll

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

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public bool EnableRecordHeaderMenu { get; set; }

Property Value

Type Default Description
Boolean true

true, to allow a context menu for a record header; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to EnableRecordHeaderMenu
VGridControl
.OptionsMenu .EnableRecordHeaderMenu

Remarks

If the VGridOptionsBehavior.AllowRecordComparison property is enabled, the record header context menu contains commands to compare records, and activate and hide the comparison view.

VGrid- Compare Records

You can handle the VGridControlBase.PopupMenuShowing event to customize the record header context menu.

See Also