Skip to main content

MVCxVerticalGridFormatConditionCollection.AddColorScale(Action<VerticalGridFormatConditionColorScale>) Method

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public VerticalGridFormatConditionColorScale AddColorScale(
    Action<VerticalGridFormatConditionColorScale> method
)

Parameters

Name Type Description
method Action<VerticalGridFormatConditionColorScale>

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

Returns

Type Description
VerticalGridFormatConditionColorScale

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

See Also