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

TdxCustomDockControl.ImageIndex Property

Specifies the index of the image associated with the dock control.

#Declaration

Delphi
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.

See Also