DockPanel.Image Property

Gets or sets the current DockPanel's icon.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[Browsable(false)]
public Image Image { get; set; }
<Browsable(False)>
Public Property Image As Image

Property Value

Type Description
Image

An Image object that is the current DockPanel's icon.

Remarks

A DockPanel's icon is displayed in a Document Selector, panel caption (when the panel is set auto-hidden) and tab header (when the panel is presented as a tab):

DockPanel Image

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

Alternatively, you can use the DockPanel.ImageIndex property to choose an image from the DockManager.Images collection.

See Also