TdxCustomDockControl.ImageIndex Property
Specifies the index of the image associated with the dock control.
Declaration
property ImageIndex: Integer read; write; default -1;
Property Value
Type |
---|
Integer |
Remarks
Use the ImageIndex property to specify the image associated with the dock control. The image is specified by its index within the source image list. If the ImageIndex property value is -1 or greater than the last available index, no image is associated with the control.
Images associated with panels are displayed within tabs when panels are joined into a tab container. Also, these images are painted within panel labels when the auto hide feature is enabled.
The source image list is specified by the Images property of the docking manager. If there is no docking manager on the form, the Images property of the docking controller is used. Please refer to the TdxDockingController class description for details on the docking controller.
The default value of the ImageIndex property is -1.