TImageEnMView.OnGetColors
Declaration
property OnGetColors: TIEGetColorsEvent;
Description
Occurs before the drawing of the thumbnail background and border of index,
idx. It can be used to customize the color of the thumbnail background and border.
| Parameter | Description |
| Idx | Index of image being drawn |
| IsSelected | This thumbnail is selected |
| IsHover | This thumbnail is under the cursor |
| BackgroundColor | The color drawn behind the image (can be customized or set to clNone) |
| BackgroundStyle | The style of the thumbnail background (can be customized) |
| BorderColor | The color of the border around the thumbnail (can be customized or set to clNone) |
| BorderWidth | The width of the border around the thumbnail (can be customized or set to 0) |