MVCxVerticalGridFormatConditionCollection.AddColorScale(String, GridConditionColorScaleFormat) Method
Creates a new format condition item with the specified settings and adds it to the MVCxVerticalGridFormatConditionCollection collection.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
Declaration
public VerticalGridFormatConditionColorScale AddColorScale(
string fieldName,
GridConditionColorScaleFormat format
)
Parameters
Name | Type | Description |
---|---|---|
fieldName | String | A String value that is the name of the processed data field. This value is assigned to the GridFormatConditionBase.FieldName property. |
format | GridConditionColorScaleFormat | One of the GridConditionColorScaleFormat enumeration values specifying the format (color scale) applied to cells. This value is assigned to the GridFormatConditionColorScale.Format property. |
Returns
Type | Description |
---|---|
VerticalGridFormatConditionColorScale | An VerticalGridFormatConditionColorScale object that is the newly created format condition item. |
See Also