Represents the grid's column collection.
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.