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.v20.2.dll

Declaration

public MVCxGridViewBandColumn<RowType> AddBand<ValueType>(
    Expression<Func<RowType, ValueType>> expression
)
Public Function AddBand(Of ValueType)(
    expression As Expression(Of Func(Of RowType, ValueType))
) As MVCxGridViewBandColumn(Of RowType)

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