Back to Devexpress

MVCxCardViewFormatConditionCollection.AddIconSet(String, GridConditionIconSetFormat) Method

aspnetmvc-devexpress-dot-web-dot-mvc-dot-mvcxcardviewformatconditioncollection-dot-addiconset-x28-system-dot-string-devexpress-dot-web-dot-gridconditioniconsetformat-x29.md

latest2.5 KB
Original Source

MVCxCardViewFormatConditionCollection.AddIconSet(String, GridConditionIconSetFormat) Method

Creates a new format condition item with the specified settings and adds it to the MVCxCardViewFormatConditionCollection collection.

Namespace : DevExpress.Web.Mvc

Assembly : DevExpress.Web.Mvc5.v25.2.dll

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public CardViewFormatConditionIconSet AddIconSet(
    string fieldName,
    GridConditionIconSetFormat format
)
vb
Public Function AddIconSet(
    fieldName As String,
    format As GridConditionIconSetFormat
) As CardViewFormatConditionIconSet

Parameters

NameTypeDescription
fieldNameString

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

TypeDescription
CardViewFormatConditionIconSet

A CardViewFormatConditionIconSet object that is the newly created format condition item.

|

See Also

MVCxCardViewFormatConditionCollection Class

MVCxCardViewFormatConditionCollection Members

DevExpress.Web.Mvc Namespace