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