Back to Devexpress

VGridOptionsMenuEx.EnableRecordHeaderMenu Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-rows-dot-vgridoptionsmenuex.md

latest2.7 KB
Original Source

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

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

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public bool EnableRecordHeaderMenu { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Property EnableRecordHeaderMenu As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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.

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

See Also

ShowRecordHeaders

VGridOptionsMenuEx Class

VGridOptionsMenuEx Members

DevExpress.XtraVerticalGrid.Rows Namespace