MVCxCardViewFormatConditionCollection<CardType>.AddTopBottom(Expression<Func<CardType, ValueType>>, GridTopBottomRule, GridConditionHighlightFormat) 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.v24.2.dll
Declaration
public CardViewFormatConditionTopBottom AddTopBottom(
Expression<Func<CardType, ValueType>> fieldNameExpression,
GridTopBottomRule rule,
GridConditionHighlightFormat format
)
Parameters
Name | Type | Description |
---|---|---|
fieldNameExpression | Expression<Func<CardType, ValueType>> | An expression that identifies the processed data field. |
rule | GridTopBottomRule | One of the GridTopBottomRule enumeration values specifying the format condition rule. |
format | GridConditionHighlightFormat | One of the GridConditionHighlightFormat enumeration values specifying the format applied to cells. |
Returns
Type | Description |
---|---|
CardViewFormatConditionTopBottom | A CardViewFormatConditionTopBottom object that is the newly created format condition item. |
See Also