Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GridColumnCollection Class

Represents the grid’s column collection.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public class GridColumnCollection :
    ColumnCollectionBase<GridColumn>

The following members return GridColumnCollection objects:

#Remarks

The grid stores its columns within the GridControl.Columns collection. The GridColumnCollection class provides methods that can be used to add, delete, or access individual columns and perform other common collection management tasks. Individual columns are represented by GridColumn objects and can be accessed by their field name or using indexed notation.

To learn more, see Creating Columns and Binding Them to Data Properties and Accessing and Identifying Columns.

#Inheritance

Object
Collection<GridColumn>
ObservableCollection<GridColumn>
DevExpress.Xpf.Core.ObservableCollectionCore<GridColumn>
ColumnCollectionBase<GridColumn>
GridColumnCollection
See Also