Back to Devexpress

GridOptionsMenu.EnableColumnMenu Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsmenu-42aaf99e.md

latest2.2 KB
Original Source

GridOptionsMenu.EnableColumnMenu Property

Gets or sets whether the end-users can invoke Column Header Context Menu.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

true if end-users can right-click column headers to invoke their context menus; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to EnableColumnMenu
GridView

.OptionsMenu .EnableColumnMenu

|

See Also

Column Header

Column Header Context Menu

GridOptionsMenu Class

GridOptionsMenu Members

DevExpress.XtraGrid.Views.Grid Namespace