Skip to main content

DockPanel.Image Property

Gets or sets the current DockPanel‘s icon.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public Image Image { get; set; }

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