BaseLayoutItem.ShowTabCaptionImage Property

Get or sets whether to show an image within a tab caption of the current layout item. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

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


public bool ShowTabCaptionImage { get; set; }

Property Value

Type Description

true to display an image within a tab header; otherwise, false.


Use the TabCaptionImage property to specify an image displayed within the tab caption of the current layout item. To enable or disable displaying such an image, use the ShowTabCaptionImage property. You can specify the tab caption using the TabCaption property.

    <dxdo:LayoutPanel Caption="Panel1" TabCaptionImage="{dx:DXImage Image=User_16x16.png}" />
    <dxdo:LayoutPanel Caption="Panel2" TabCaptionImage="{dx:DXImage Image=User_16x16.png}" ShowTabCaptionImage="False" />
    <dxdo:LayoutPanel Caption="Panel3" TabCaptionImage="{dx:DXImage Image=User_16x16.png}"/>
See Also