Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.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