Skip to main content
A newer version of this page is available. .

ColumnCollection Class

Represents the grid’s column collection.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v18.2.dll

Declaration

public class ColumnCollection :
    ColumnCollectionBase<ColumnBase>

Remarks

The grid stores its columns within the GridControl.Columns collection. The ColumnCollection 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 ColumnBase descendants (GridTextColumn, GridCheckBoxColumn, etc.) and can be accessed by their field name or using indexed notation.

Inheritance

Object
Collection<ColumnBase>
ObservableCollection<ColumnBase>
DevExpress.Core.ObservableCollectionCore<ColumnBase>
DevExpress.UI.Xaml.Grid.ColumnCollectionBase<ColumnBase>
ColumnCollection
See Also