DockLayoutManager.DefaultTabPageCaptionImage Property

Gets or sets the image displayed within a dock panel's tab when the panel belongs to a tabbed group, and if no caption and image are explicitly assigned to the panel. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v20.1.dll

Declaration

public ImageSource DefaultTabPageCaptionImage { get; set; }
Public Property DefaultTabPageCaptionImage As ImageSource

Property Value

Type Description
ImageSource

An ImageSource object that specifies the associated image.

Remarks

If an image is assigned to the panel's BaseLayoutItem.CaptionImage property, it's displayed within the corresponding tab when the panel belongs to a tabbed group. If no image is assigned, the tab displays the caption specified by the BaseLayoutItem.Caption property. If neither a caption nor an image is assigned, the tab will display the image specified by the DefaultTabPageCaptionImage property. If the predefined image doesn't meet your requirements, you can assign a custom one.

See Also