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 Dock |
#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.