Skip to main content
A newer version of this page is available. .

MVCxCardViewFormatConditionCollection.AddHighlight(Action<CardViewFormatConditionHighlight>) Method

Creates a new format condition item with the default settings, adds it to the MVCxCardViewFormatConditionCollection collection, and allows you to customize this item in a delegate method implementation.

Namespace: DevExpress.Web.Mvc

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

Declaration

public CardViewFormatConditionHighlight AddHighlight(
    Action<CardViewFormatConditionHighlight> method
)

Parameters

Name Type Description
method Action<CardViewFormatConditionHighlight>

A delegate method that accepts the created CardViewFormatConditionHighlight object as a parameter.

Returns

Type Description
CardViewFormatConditionHighlight

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

See Also