A newer version of this page is available. Switch to the current version.

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

Declaration

public CardViewFormatConditionColorScale AddColorScale(
    Action<CardViewFormatConditionColorScale> method
)
Public Function AddColorScale(
    method As Action(Of CardViewFormatConditionColorScale)
) As CardViewFormatConditionColorScale

Parameters

Name Type Description
method Action<CardViewFormatConditionColorScale>

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

Returns

Type Description
CardViewFormatConditionColorScale

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

See Also