Skip to main content
A newer version of this page is available. .

BaseLayoutItem.TabCaptionImage Property

Gets or sets an image displayed within the layout item caption in a tabbed layout. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v18.2.dll

Declaration

public ImageSource TabCaptionImage { get; set; }

Property Value

Type Description
ImageSource

An ImageSource object that specifies the image displayed within the layout item caption in a tabbed layout.

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