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

MVCxGridViewFormatConditionCollection.AddColorScale(Action<GridViewFormatConditionColorScale>) Method

Creates a new format condition item with the default settings, adds it to the MVCxGridViewFormatConditionCollection 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 GridViewFormatConditionColorScale AddColorScale(
    Action<GridViewFormatConditionColorScale> method
)

Parameters

Name Type Description
method Action<GridViewFormatConditionColorScale>

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

Returns

Type Description
GridViewFormatConditionColorScale

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

See Also