DockPanel.ImageIndex Property

Gets or sets the index of an image associated with the dock panel.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v21.1.dll


public int ImageIndex { get; set; }

Property Value

Type Description

An integer value specifying the index of an image within the DockManager.Images list.


The ImageIndex property allows you to associate an image from the DockManager.Images list with the current dock panel. You can also use the DockPanel.Image property to set the icon explicitly.

By default, 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.

To allow images to be displayed within regular panels, set the DockingOptions.ShowCaptionImage property to true.

See Also