A newer version of this page is available. Switch to the current version.

BandedGridColumnCollection.AddField(String) Method

Creates a new column which is bound to the specified field and appends it to the collection.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

public BandedGridColumn AddField(
    string fieldName
)
Public Function AddField(
    fieldName As String
) As BandedGridColumn

Parameters

Name Type Description
fieldName String

A String value that specifies the name of the data field to bind the created column to.

Returns

Type Description
BandedGridColumn

A BandedGridColumn object which represents the new column.

See Also