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

Create(string,Integer[]) Constructor

Creates a new icon preset.

#Declaration

Delphi
constructor Create(const AName: string; AIndexes: array of Integer); overload;

#Parameters

Name Type Description
AName string

An icon preset’s name.

AIndexes Integer

A list of icon indexes.

#Remarks

This constructor supports the internal infrastructure and is not intended to be used directly from your code. To create new icon presets, call the global conditional formatting icon storage‘s Presets.Add function.

The first overloaded Create constructor variant creates an empty list of icon indexes and initializes the Name property to the AName parameter value. The second constructor variant calls the first variant passing AName as the parameter, and populates the list of icon indexes with values passed as the AIndexes parameter.

The icon preset collection‘s Add function calls the second overloaded constructor variant to create a new preset that includes the specified array of global icon indexes.

See Also