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.v20.1.dll

Declaration

public bool ShowTabCaptionImage { get; set; }
Public Property ShowTabCaptionImage As Boolean

Property Value

Type Description
Boolean

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

Remarks

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:LayoutGroup>
    <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}"/>
  </dxdo:LayoutGroup>
See Also