Skip to main content
All docs
V25.1
  • BaseLayoutItem.CaptionImageStyle Property

    Gets or sets the caption image style. This is a dependency property.

    Namespace: DevExpress.Xpf.Docking

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

    NuGet Package: DevExpress.Wpf.Docking

    Declaration

    public Style CaptionImageStyle { get; set; }

    Property Value

    Type Description
    Style

    The style of the caption image.

    Remarks

    <Window ...
            xmlns:dxdove="http://schemas.devexpress.com/winfx/2008/xaml/docking/visualelements"
            xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
            xmlns:dxdo="http://schemas.devexpress.com/winfx/2008/xaml/docking">
        <StackPanel>
            <dxdo:DockLayoutManager>
                <dxdo:LayoutGroup Caption="LayoutRoot">
                    <dxdo:LayoutPanel Caption="Panel1" CaptionImage="{dx:SvgImageSource Uri='pack://application:,,,evExpress.Images.v20.2;component/SvgImages/Outlook Inspired/New.svg'}">
                        <dxdo:LayoutPanel.CaptionImageStyle>
                            <Style TargetType="dxdove:CaptionImage">
                                <Setter Property="Width" Value="16"/>
                                <Setter Property="Height" Value="16"/>
                                <Setter Property="Stretch" Value="Fill"/>
                            </Style>
                        </dxdo:LayoutPanel.CaptionImageStyle>
                    </dxdo:LayoutPanel>
                </dxdo:LayoutGroup>
            </dxdo:DockLayoutManager>
        </StackPanel>
    </Window>
    

    DockLayoutManager - LayoutGroup - CaptionImageStyle property

    See Also