GridFormatConditionIconSet.Format Property
Gets or sets the format (icon set) applied to cells.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[DefaultValue(null)]
public GridConditionIconSetFormat Format { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Grid |
null | One of the Grid |
Available values:
Name | Description |
---|---|
Arrows3Colored | Items are ranged into 3 categories using colored arrow images. |
Arrows3Gray | Items are ranged into 3 categories using gray arrow images. |
Triangles3 | Items are ranged into 3 categories using triangle images. |
Arrows4Colored | Items are ranged into 4 categories using colored arrow images. |
Arrows4Gray | Items are ranged into 4 categories using gray arrow images. |
Arrows5Colored | Items are ranged into 5 categories using colored arrow images. |
Arrows5Gray | Items are ranged into 5 categories using gray arrow images. |
Traffic |
Items are ranged into 3 categories using unrimmed traffic light images. |
Traffic |
Items are ranged into 3 categories using rimmed traffic light images. |
Signs3 | Items are ranged into 3 categories using sign images. |
Traffic |
Items are ranged into 4 categories using traffic light images. |
Red |
Items are ranged into 4 categories using circle images colored from red to black. |
Symbols3Circled | Items are ranged into 3 categories using circled symbol images. |
Symbols3Uncircled | Items are ranged into 3 categories using uncircled symbol images. |
Flags3 | Items are ranged into 3 categories using flag images. |
Stars3 |
Items are ranged into 3 categories using star images. |
Ratings4 | Items are ranged into 4 categories using rating images. |
Ratings5 | Items are ranged into 5 categories using rating images. |
Quarters5 | Items are ranged into 5 categories using quarter images. |
Boxes5 |
Items are ranged into 5 categories using box images. |
Positive |
Items are ranged into 2 categories (positive and negative values) using colored arrow images. |
Positive |
Items are ranged into 2 categories (positive and negative values) using gray arrow images. |
Positive |
Items are ranged into 2 categories (positive and negative values) using triangle images. |
#Remarks
Use the Format property to specify a set of predefined images that will be displayed in the cells of a column specified by the GridFormatConditionBase.FieldName property.
#Example
{
...
CardViewFormatConditionIconSet Format4 = new CardViewFormatConditionIconSet();
Format4.FieldName = "Quantity";
Format4.Format = GridConditionIconSetFormat.Arrows3Colored;
Format4.MinimumValue = 10;
Format4.MaximumValue = 60;
...
}