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.v25.1.dll
NuGet Package: DevExpress.Web.Mvc5
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