Skip to main content

MVCxVerticalGridFormatConditionCollection<ColumnType>.AddIconSet<ValueType>(Expression<Func<ColumnType, ValueType>>, GridConditionIconSetFormat) Method

Creates a new format condition item with the specified settings and adds it to the MVCxVerticalGridFormatConditionCollection<ColumnType> collection.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public VerticalGridFormatConditionIconSet AddIconSet<ValueType>(
    Expression<Func<ColumnType, ValueType>> fieldNameExpression,
    GridConditionIconSetFormat format
)

Parameters

Name Type Description
fieldNameExpression Expression<Func<ColumnType, ValueType>>

An expression that identifies the processed data field.

format GridConditionIconSetFormat

One of the GridConditionIconSetFormat enumeration values specifying the format (icon set) applied to cells.

Type Parameters

Name
ValueType

Returns

Type Description
VerticalGridFormatConditionIconSet

A VerticalGridFormatConditionIconSet object that is the newly created format condition item.

See Also