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

DockPanel.Image Property

Gets or sets the current DockPanel‘s icon. This property is obsolete. Use the DockPanel.ImageOptions.Image property instead.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.2.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.ImageOptions.ImageIndex property to choose an image from the DockManager.Images collection.

See Also