windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsmenu-76d66c94.md
Gets or sets whether end-users can invoke the group panel context menu.
Namespace : DevExpress.XtraGrid.Views.Grid
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool EnableGroupPanelMenu { get; set; }
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property EnableGroupPanelMenu As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true if end-users can right-click the group panel to invoke its context menu; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to EnableGroupPanelMenu |
|---|---|
| GridView |
.OptionsMenu .EnableGroupPanelMenu
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EnableGroupPanelMenu property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-grid-keep-groups-expanded/CS/KeepGroupsExpanded/Form1.cs#L21
gridView1.ExpandAllGroups();
gridView1.OptionsMenu.EnableGroupPanelMenu = false;
}
winforms-grid-keep-groups-expanded/VB/KeepGroupsExpanded/Form1.vb#L23
gridView1.ExpandAllGroups()
gridView1.OptionsMenu.EnableGroupPanelMenu = False
End Sub
See Also