Skip to main content

MVCxVerticalGridFormatConditionCollection.AddIconSet(String, GridConditionIconSetFormat) 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.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public VerticalGridFormatConditionIconSet AddIconSet(
    string fieldName,
    GridConditionIconSetFormat 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 GridConditionIconSetFormat

One of the GridConditionIconSetFormat enumeration values specifying the format (color scale) applied to cells. This value is assigned to the GridFormatConditionIconSet.Format property.

Returns

Type Description
VerticalGridFormatConditionIconSet

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

See Also