MVCxCardViewFormatConditionCollection<CardType>.AddHighlight(Expression<Func<CardType, ValueType>>, String, GridConditionHighlightFormat) Method
In This Article
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
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public CardViewFormatConditionHighlight AddHighlight(
Expression<Func<CardType, ValueType>> fieldNameExpression,
string expression,
GridConditionHighlightFormat format
)
#Parameters
Name | Type | Description |
---|---|---|
field |
Expression<Func<Card |
An expression that identifies the processed data field. |
expression | String | A String value specifying the expression used to format grid cells. |
format | Grid |
One of the Grid |
#Returns
Type | Description |
---|---|
Card |
A Card |
See Also