Skip to main content

GridBandColumnCollection.Item[String] Property

Gets a column with the specified name.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

public BandedGridColumn this[string name] { get; }

Parameters

Name Type Description
name String

A String value specifying the column name.

Property Value

Type Description
BandedGridColumn

A BandedGridColumn object representing the column with the specified name. null (Nothing in Visual Basic) if the specified column doesn’t belong to the collection.

Remarks

Note that columns are Component descendants and so can be accessed directly by their names. This property should be used when you store column names in variables, etc.

See Also