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

BandedGridColumnCollection.ColumnByName(String) Method

Returns a column by its name.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

public BandedGridColumn ColumnByName(
    string columnName
)
Public Function ColumnByName(
    columnName As String
) As BandedGridColumn

Parameters

Name Type Description
columnName String

A String value specifying the column name.

Returns

Type Description
BandedGridColumn

A BandedGridColumn object representing a column with the specified name. null (Nothing in Visual Basic) if no column is found.

Remarks

This method is equivalent to the GridColumnCollection.ColumnByName method. See this link to learn more.

See Also