A newer version of this page is available. Switch to the current version.

SuperTipItem.LayoutStyle Property

Gets or sets the style applied to paint the panel displaying the tooltip item’s content and image. This is a dependency property.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v20.2.dll


public Style LayoutStyle { get; set; }

Property Value

Type Description

A Style object.


Target Type: DevExpress.Xpf.Core.Items2Panel

To learn about styles, see Styling and Templating.

You can use the LayoutStyle property to change the default layout settings, which control how the tooltip item’s content and image are positioned. For instance, it’s possible to change the indent between the content and image and position of the image, relative to the content.


The following example creates a SuperTip consisting of four items. For the second item, the default layout of the item’s Content and Glyph is changed. The glyph is positioned on the right of the Content.

For the fourth item, the style is changed, so that the text is painted in gray.

The result is shown below:


        <!--Item 1-->
        <dxc:SuperTipHeaderItem Content="New"/>
        <!--Item 2-->
        <dxc:SuperTipItem Content="Create a new document" 
            <!--Change the default layout-->
                <Style TargetType="{x:Type dxc:Items2Panel}">
                    <Setter Property="Alignment" Value="Right"/>
                    <Setter Property="HorizontalIndent" Value="20"/>

        <!--Item 3-->
        <!--Item 4-->
        <dxc:SuperTipItem Content="Opens a new document in a new tab" >
            <!--Provide content template-->
                    <TextBlock FontFamily="Calibri" Foreground="Gray" FontSize="11" Text="{Binding}"/>
See Also