Back to Devexpress

GridColumnCollection.AddRange(GridColumn[]) Method

windowsforms-devexpress-dot-xtragrid-dot-columns-dot-gridcolumncollection-dot-addrange-x28-devexpress-dot-xtragrid-dot-columns-dot-gridcolumn-x29.md

latest1.8 KB
Original Source

GridColumnCollection.AddRange(GridColumn[]) Method

Adds an array of columns to the end of the collection.

Namespace : DevExpress.XtraGrid.Columns

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
public virtual void AddRange(
    GridColumn[] columns
)
vb
Public Overridable Sub AddRange(
    columns As GridColumn()
)

Parameters

NameTypeDescription
columnsGridColumn[]

An array of GridColumn objects.

|

Remarks

Columns are added to the collection in the order specified by their positions within the array.

See Also

Add

Remove(GridColumn)

Columns

GridColumnCollection Class

GridColumnCollection Members

DevExpress.XtraGrid.Columns Namespace