TdxCustomGalleryItem.ImageIndex Property
Specifies the item glyph by pointing to an image in the associated image list.
Declaration
property ImageIndex: TcxImageIndex read; write; default -1;
Property Value
Type |
---|
TcxImageIndex |
Remarks
Use the ImageIndex property to designate an image that should be displayed by this item. The image is specified by its index within the image list assigned to the TdxGalleryControl.Images property.
In order to use this property:
Place an image list control onto a form;
Populate it with images;
Select the required gallery in the Object Inspector;
Assign the list as shown below:
Now you can choose the item’s image in the gallery’s designer.
The default value of the ImageIndex property is -1.
See Also