Skip to main content

ColumnCollection Class

Represents the grid’s column collection.

Namespace: DevExpress.UI.Xaml.Grid

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

NuGet Package: DevExpress.Uwp.Controls

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