Back to Devexpress

GridViewBase.GroupedColumns Property

wpf-devexpress-dot-xpf-dot-grid-dot-gridviewbase-f487afcc.md

latest2.2 KB
Original Source

GridViewBase.GroupedColumns Property

Gets the list of grouped columns.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public IList<GridColumn> GroupedColumns { get; }
vb
Public ReadOnly Property GroupedColumns As IList(Of GridColumn)

Property Value

TypeDescription
IList<GridColumn>

The list containing grouped columns.

|

Remarks

The GroupedColumns property contains grouped columns (if any). A column is grouped if its GridColumn.IsGrouped property returns true. To learn more, see Grouping.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GroupedColumns 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.

how-to-sort-group-rows-by-summary-values-e1540/CS/DXSample_SortGroupsBySummary/Window1.xaml.cs#L11

csharp
grid.ItemsSource = AccountList.GetData();
    SortGroupsBySummary(view.GroupedColumns[0]);
}

See Also

GridViewBase Class

GridViewBase Members

DevExpress.Xpf.Grid Namespace