MVCxGridViewFormatConditionCollection.AddColorScale(String, GridConditionColorScaleFormat) Method
In This Article
Creates a new format condition item with the specified settings and adds it to the MVCxGridViewFormatConditionCollection collection.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public GridViewFormatConditionColorScale AddColorScale(
string fieldName,
GridConditionColorScaleFormat format
)
#Parameters
Name | Type | Description |
---|---|---|
field |
String | A String value that is the name of the processed data field. This value is assigned to the Grid |
format | Grid |
One of the Grid |
#Returns
Type | Description |
---|---|
Grid |
An Grid |
See Also