GridColumn() Constructor

Creates a new GridColumn object with default settings.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

public GridColumn()
Public Sub New

Remarks

Use the constructor to create column objects programmatically. Direct column creation can be used when you add columns using the desired column collection's GridColumnCollection.AddRange method. The method enables you to add a number of columns at once. If you need to create and add a single column, use the collection's GridColumnCollection.Add or GridColumnCollection.Insert method instead of direct column creation.

Use a View's ColumnView.Columns property to access its column collection.

See Also