Skip to main content

GridColumnCollection.Add(GridColumn) Method

Adds the specified column to the end of the collection.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

public virtual int Add(
    GridColumn column
)

Parameters

Name Type Description
column GridColumn

The column to add to the collection.

Returns

Type Description
Int32

An integer value that specifies the position of the column within the collection.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Add(GridColumn) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also