Back to Devexpress

GridOptionsView.ShowGroupPanel Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsview-12ffdbbb.md

latest6.8 KB
Original Source

GridOptionsView.ShowGroupPanel Property

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

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

true , to display the group panel; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ShowGroupPanel
GridView

.OptionsView .ShowGroupPanel

|

Remarks

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

csharp
this.gridView1.OptionsView.RowAutoHeight = true;
this.gridView1.OptionsView.ShowGroupPanel = false;
//

winforms-grid-data-annotation-attributes/CS/GridDataAttributes/Form1.cs#L17

csharp
InitializeComponent();
gridView1.OptionsView.ShowGroupPanel = false;
gridControl1.DataSourceChanged += gridControl1_DataSourceChanged;

winforms-grid-use-layoutview-as-master-view/CS/WindowsApplication3/MasterDetailHelper.cs#L77

csharp
detailView = new GridView(DetailGrid);
    ((GridView)detailView).OptionsView.ShowGroupPanel = false;
}

winforms-grid-sql-pagination/CS/DxSample/MainForm.cs#L18

csharp
OrdersGridView.OptionsFind.AllowFindPanel = false;
    OrdersGridView.OptionsView.ShowGroupPanel = false;
}

how-to-export-cell-range-to-a-datatable/CS/ExportToDataTableExample/Form1.cs#L201

csharp
grid.ForceInitialize();
((DevExpress.XtraGrid.Views.Grid.GridView)grid.FocusedView).OptionsView.ShowGroupPanel = false;

winforms-grid-display-icons-in-data-cells/VB/Form1.vb#L82

vb
gridView1.OptionsView.RowAutoHeight = True
gridView1.OptionsView.ShowGroupPanel = False
'

winforms-grid-data-annotation-attributes/VB/GridDataAttributes/Form1.vb#L14

vb
InitializeComponent()
gridView1.OptionsView.ShowGroupPanel = False
AddHandler gridControl1.DataSourceChanged, AddressOf gridControl1_DataSourceChanged

winforms-grid-use-layoutview-as-master-view/VB/WindowsApplication3/MasterDetailHelper.vb#L87

vb
detailView_Renamed = New GridView(DetailGrid)
    CType(detailView_Renamed, GridView).OptionsView.ShowGroupPanel = False
Else

winforms-grid-sql-pagination/VB/DxSample/MainForm.vb#L20

vb
OrdersGridView.OptionsFind.AllowFindPanel = False
    OrdersGridView.OptionsView.ShowGroupPanel = False
End Sub

how-to-export-cell-range-to-a-datatable/VB/ExportToDataTableExample/Form1.vb#L187

vb
grid.ForceInitialize()
CType(grid.FocusedView, DevExpress.XtraGrid.Views.Grid.GridView).OptionsView.ShowGroupPanel = False
newForm.ShowDialog(Me)

See Also

AllowGroup

ShowChildrenInGroupPanel

ShowGroupPanelColumnsAsSingleRow

Data Grouping

GridOptionsView Class

GridOptionsView Members

DevExpress.XtraGrid.Views.Grid Namespace