A newer version of this page is available. Switch to the current version.

MVCxCardViewFormatConditionCollection<CardType>.AddIconSet(Expression<Func<CardType, ValueType>>, GridConditionIconSetFormat) Method

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

Namespace: DevExpress.Web.Mvc

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

Declaration

public CardViewFormatConditionIconSet AddIconSet(
    Expression<Func<CardType, ValueType>> fieldNameExpression,
    GridConditionIconSetFormat format
)
Public Function AddIconSet(
    fieldNameExpression As Expression(Of Func(Of CardType, ValueType)),
    format As GridConditionIconSetFormat
) As CardViewFormatConditionIconSet

Parameters

Name Type Description
fieldNameExpression Expression<Func<CardType, 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.

Returns

Type Description
CardViewFormatConditionIconSet

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

See Also