Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpreadSheetConditionalFormattingIconSetPreset Class

An icon preset that an “Icon Set“ conditional formatting rule uses to mark specific cells within the affected area(s).

#Declaration

Delphi
TdxSpreadSheetConditionalFormattingIconSetPreset = class(
    TObject
)

#Remarks

An icon preset is an unchangeable set of icons from the predefined image list accessible via the global conditional formatting icon storage‘s Icons property. Each icon within the preset corresponds to a specific threshold of an “Icon Set” conditional formatting rule.

The TdxSpreadSheetConditionalFormattingIconSetPreset class provides the following members that allow you to:

  • Obtain the identifier and description of the icon preset (Name and Description);

  • Identify the number of icons within the preset (IconIndexCount);

  • Obtain global indexes of individual icons within the preset (IconIndexes).

  • Search a specific icon within the preset by its index in the global list (IndexOf).

The icon preset collection‘s Items property references a TdxSpreadSheetConditionalFormattingIconSetPreset object. To create a new custom icon preset, call the collection’s Add function.

#Inheritance

TObject
TdxSpreadSheetConditionalFormattingIconSetPreset
See Also