windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsview-12ffdbbb.md
Gets or sets a value specifying whether the group panel is visible.
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 ShowGroupPanel { get; set; }
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property ShowGroupPanel As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true , to display the group panel; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to ShowGroupPanel |
|---|---|
| GridView |
.OptionsView .ShowGroupPanel
|
Note
For a GridView object used within GridLookUpEdit and SearchLookUpEdit controls, the ShowGroupPanel property cannot be changed at design time. To change this property at runtime in the case described, set the property to the required value in code.
The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowGroupPanel 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-display-icons-in-data-cells/CS/Form1.cs#L89
this.gridView1.OptionsView.RowAutoHeight = true;
this.gridView1.OptionsView.ShowGroupPanel = false;
//
winforms-grid-data-annotation-attributes/CS/GridDataAttributes/Form1.cs#L17
InitializeComponent();
gridView1.OptionsView.ShowGroupPanel = false;
gridControl1.DataSourceChanged += gridControl1_DataSourceChanged;
winforms-grid-use-layoutview-as-master-view/CS/WindowsApplication3/MasterDetailHelper.cs#L77
detailView = new GridView(DetailGrid);
((GridView)detailView).OptionsView.ShowGroupPanel = false;
}
winforms-grid-sql-pagination/CS/DxSample/MainForm.cs#L18
OrdersGridView.OptionsFind.AllowFindPanel = false;
OrdersGridView.OptionsView.ShowGroupPanel = false;
}
how-to-export-cell-range-to-a-datatable/CS/ExportToDataTableExample/Form1.cs#L201
grid.ForceInitialize();
((DevExpress.XtraGrid.Views.Grid.GridView)grid.FocusedView).OptionsView.ShowGroupPanel = false;
winforms-grid-display-icons-in-data-cells/VB/Form1.vb#L82
gridView1.OptionsView.RowAutoHeight = True
gridView1.OptionsView.ShowGroupPanel = False
'
winforms-grid-data-annotation-attributes/VB/GridDataAttributes/Form1.vb#L14
InitializeComponent()
gridView1.OptionsView.ShowGroupPanel = False
AddHandler gridControl1.DataSourceChanged, AddressOf gridControl1_DataSourceChanged
winforms-grid-use-layoutview-as-master-view/VB/WindowsApplication3/MasterDetailHelper.vb#L87
detailView_Renamed = New GridView(DetailGrid)
CType(detailView_Renamed, GridView).OptionsView.ShowGroupPanel = False
Else
winforms-grid-sql-pagination/VB/DxSample/MainForm.vb#L20
OrdersGridView.OptionsFind.AllowFindPanel = False
OrdersGridView.OptionsView.ShowGroupPanel = False
End Sub
how-to-export-cell-range-to-a-datatable/VB/ExportToDataTableExample/Form1.vb#L187
grid.ForceInitialize()
CType(grid.FocusedView, DevExpress.XtraGrid.Views.Grid.GridView).OptionsView.ShowGroupPanel = False
newForm.ShowDialog(Me)
See Also