Back to Devexpress

MVCxCardViewFormatConditionCollection.AddHighlight(Action<CardViewFormatConditionHighlight>) Method

aspnetmvc-devexpress-dot-web-dot-mvc-dot-mvcxcardviewformatconditioncollection-dot-addhighlight-x28-system-dot-action-devexpress-dot-web-dot-cardviewformatconditionhighlight-x29.md

latest2.2 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public CardViewFormatConditionHighlight AddHighlight(
    Action<CardViewFormatConditionHighlight> method
)
vb
Public Function AddHighlight(
    method As Action(Of CardViewFormatConditionHighlight)
) As CardViewFormatConditionHighlight

Parameters

NameTypeDescription
methodAction<CardViewFormatConditionHighlight>

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

|

Returns

TypeDescription
CardViewFormatConditionHighlight

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

|

See Also

MVCxCardViewFormatConditionCollection Class

MVCxCardViewFormatConditionCollection Members

DevExpress.Web.Mvc Namespace