Skip to main content
A newer version of this page is available. .

MVCxGridViewColumnCollection<RowType>.AddBand<ValueType>(Expression<Func<RowType, ValueType>>) Method

Adds a new band column to the collection and allows you to customize this column in a delegate method implementation.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll

Declaration

public MVCxGridViewBandColumn<RowType> AddBand<ValueType>(
    Expression<Func<RowType, ValueType>> expression
)

Parameters

Name Type Description
expression Expression<Func<RowType, ValueType>>

The expression that identifies the data model field to which the band column is bound.

Type Parameters

Name
ValueType

Returns

Type Description
MVCxGridViewBandColumn<RowType>

A MVCxGridViewBandColumn<RowType> object that is the newly added band column.

See Also