Back to Devexpress

MVCxCardViewFormatConditionCollection.AddColorScale(Action<CardViewFormatConditionColorScale>) Method

aspnetmvc-devexpress-dot-web-dot-mvc-dot-mvcxcardviewformatconditioncollection-dot-addcolorscale-x28-system-dot-action-devexpress-dot-web-dot-cardviewformatconditioncolorscale-x29.md

latest2.2 KB
Original Source

MVCxCardViewFormatConditionCollection.AddColorScale(Action<CardViewFormatConditionColorScale>) 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 CardViewFormatConditionColorScale AddColorScale(
    Action<CardViewFormatConditionColorScale> method
)
vb
Public Function AddColorScale(
    method As Action(Of CardViewFormatConditionColorScale)
) As CardViewFormatConditionColorScale

Parameters

NameTypeDescription
methodAction<CardViewFormatConditionColorScale>

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

|

Returns

TypeDescription
CardViewFormatConditionColorScale

An CardViewFormatConditionColorScale object that is the newly created format condition item.

|

See Also

MVCxCardViewFormatConditionCollection Class

MVCxCardViewFormatConditionCollection Members

DevExpress.Web.Mvc Namespace