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>,
    IColumnCollection,
    IList,
    ICollection,
    IEnumerable,
    INotifyCollectionChanged,
    ILockable,
    ISupportGetCachedIndex<ColumnBase>
Public Class ColumnCollection
    Inherits ColumnCollectionBase(Of ColumnBase)
    Implements IColumnCollection,
               IList,
               ICollection,
               IEnumerable,
               INotifyCollectionChanged,
               ILockable,
               ISupportGetCachedIndex(Of ColumnBase)

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
DevExpress.Core.ObservableCollectionCore<ColumnBase>
DevExpress.UI.Xaml.Grid.ColumnCollectionBase<ColumnBase>
ColumnCollection

See Also