Back to Devexpress

ConditionalFormattingCustomIcon.IconSet Property

officefileapi-devexpress-dot-spreadsheet-dot-conditionalformattingcustomicon.md

latest7.7 KB
Original Source

ConditionalFormattingCustomIcon.IconSet Property

Gets or sets the icon set to which the specified icon belongs.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
public IconSetType IconSet { get; set; }
vb
Public Property IconSet As IconSetType

Property Value

TypeDescription
IconSetType

An IconSetType object that defines the built-in icon sets.

|

Available values:

Show 21 items

NameDescriptionExample
None

Icon set type is not specified.

| | | Arrows3 |

Specifies the 3 arrows icon set.

|

| | ArrowsGray3 |

Specifies the 3 gray arrows icon set.

|

| | Flags3 |

Specifies the 3 flags icon set.

|

| | TrafficLights13 |

Specifies the 3 traffic lights icon set.

|

| | TrafficLights23 |

Specifies the 3 traffic lights (rimmed) icon set.

|

| | Signs3 |

Specifies the 3 signs icon set.

|

| | Symbols3 |

Specifies the 3 symbols (circled) icon set.

|

| | Symbols23 |

Specifies the 3 symbols icon set.

|

| | Stars3 |

Specifies the 3 stars icon set.

|

| | Triangles3 |

Specifies the 3 triangles icon set.

|

| | Arrows4 |

Specifies the 4 arrows icon set.

|

| | ArrowsGray4 |

Specifies the 4 gray arrows icon set.

|

| | RedToBlack4 |

Specifies the 4 "red to black" icon set.

|

| | Rating4 |

Specifies the 4 ratings icon set.

|

| | TrafficLights4 |

Specifies the 4 traffic lights icon set.

|

| | Arrows5 |

Specifies the 5 arrows icon set.

|

| | ArrowsGray5 |

Specifies the 5 gray arrows icon set.

|

| | Rating5 |

Specifies the 5 ratings icon set.

|

| | Quarters5 |

Specifies the 5 quarters icon set.

|

| | Boxes5 |

Specifies the 5 boxes icon set.

|

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the IconSet property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

spreadsheet-document-api-apply-conditional-formatting-to-cell-range/CS/ConditionalFormatting_Example/SpreadsheetActions/ConditionalFormatting.cs#L383

csharp
// Specify the icon set where you wish to get the icon.
cfCustomIcon.IconSet = IconSetType.TrafficLights13;
// Specify the index of the desired icon in the set.

winforms-spreadsheet-apply-conditional-formatting-to-a-range-of-cells/CS/SpreadsheetControl/SpreadsheetActions/ConditionalFormatting.cs#L381

csharp
// Specify the icon set where you wish to get the icon.
cfCustomIcon.IconSet = IconSetType.TrafficLights13;
// Specify the index of the desired icon in the set.

wpf-spreadsheet-how-to-apply-conditional-formatting-to-a-range-of-cells/CS/ConditionalFormatting_WPF_Examples/SpreadsheetActions/ConditionalFormatting.cs#L379

csharp
// Specify the icon set where you wish to get the icon.
cfCustomIcon.IconSet = IconSetType.TrafficLights13;
// Specify the index of the desired icon in the set.

spreadsheet-document-api-apply-conditional-formatting-to-cell-range/VB/ConditionalFormatting_Example/SpreadsheetActions/ConditionalFormatting.vb#L337

vb
' Specify the icon set where you wish to get the icon.
cfCustomIcon.IconSet = IconSetType.TrafficLights13
' Specify the index of the desired icon in the set.

winforms-spreadsheet-apply-conditional-formatting-to-a-range-of-cells/VB/SpreadsheetControl/SpreadsheetActions/ConditionalFormatting.vb#L334

vb
' Specify the icon set where you wish to get the icon.
cfCustomIcon.IconSet = IconSetType.TrafficLights13
' Specify the index of the desired icon in the set.

wpf-spreadsheet-how-to-apply-conditional-formatting-to-a-range-of-cells/VB/ConditionalFormatting_WPF_Examples/SpreadsheetActions/ConditionalFormatting.vb#L331

vb
' Specify the icon set where you wish to get the icon.
cfCustomIcon.IconSet = IconSetType.TrafficLights13
' Specify the index of the desired icon in the set.

See Also

ConditionalFormattingCustomIcon Struct

ConditionalFormattingCustomIcon Members

DevExpress.Spreadsheet Namespace