Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

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 Description
ValueType

The value type.

Returns

Type Description
MVCxGridViewBandColumn<RowType>

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

See Also