Back to Devexpress

GridViewBase.ShowGroupPanel Property

wpf-devexpress-dot-xpf-dot-grid-dot-gridviewbase-36bd5c9a.md

latest4.7 KB
Original Source

GridViewBase.ShowGroupPanel Property

Gets or sets whether the Group Panel is displayed within a View. This is a dependency property.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public bool ShowGroupPanel { get; set; }
vb
Public Property ShowGroupPanel As Boolean

Property Value

TypeDescription
Boolean

true to show the Group Panel; otherwise, false.

|

Remarks

To learn more, see Grouping and Grouping.

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.

wpf-data-grid-display-different-details-based-on-master-row-data/CS/WpfApp30/MainWindow.xaml#L22

xml
<dxg:GridControl.View>
    <dxg:TableView ShowGroupPanel="False"/>
</dxg:GridControl.View>

wpf-data-grid-implement-custom-filtering/CS/CustomFiltering_MVVM/MainWindow.xaml#L30

xml
<dxg:TableView AutoWidth="True"
               ShowGroupPanel="False"
               NavigationStyle="None" />

wpf-data-grid-display-detail-content-in-tabs/CS/WpfApplication18/MainWindow.xaml#L14

xml
<dxg:GridControl.View>
    <dxg:TableView DetailHeaderContent="Employees" AutoWidth="True" ShowGroupPanel="False"/>
</dxg:GridControl.View>

wpf-data-grid-display-chart-control-in-grid-details/CS/WpfApplication19/MainWindow.xaml#L49

xml
<dxg:GridControl.View>
    <dxg:TableView AutoWidth="True" ShowGroupPanel="False"/>
</dxg:GridControl.View>

wpf-data-grid-expand-and-collapse-master-rows/CS/WpfApplication21/MainWindow.xaml#L14

xml
<dxg:GridControl.View>
    <dxg:TableView x:Name="view" AutoWidth="True" ShowGroupPanel="False" PreviewKeyDown="TableView_KeyDown"/>
</dxg:GridControl.View>

wpf-data-grid-create-master-detail-grid-in-code/CS/MasterDetailInCode/MainWindow.xaml.cs#L20

csharp
((TableView)gridControl.View).AutoWidth = true;
((TableView)gridControl.View).ShowGroupPanel = false;
gridControl.View.DetailHeaderContent = nameof(Employees);

wpf-data-grid-create-master-detail-grid-in-code/VB/MasterDetailInCode/MainWindow.xaml.vb#L23

vb
CType(gridControl.View, TableView).AutoWidth = True
CType(gridControl.View, TableView).ShowGroupPanel = False
gridControl.View.DetailHeaderContent = NameOf(Employees)

See Also

GridViewBase Class

GridViewBase Members

DevExpress.Xpf.Grid Namespace