Back to Devexpress

DockPanel.Image Property

windowsforms-devexpress-dot-xtrabars-dot-docking-dot-dockpanel-91ef6907.md

latest2.3 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public Image Image { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Property Image As Image

Property Value

TypeDescription
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):

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

Images

DockPanel Class

DockPanel Members

DevExpress.XtraBars.Docking Namespace