Back to Devexpress

SunburstControl.LabelStyle Property

wpf-devexpress-dot-xpf-dot-treemap-dot-sunburstcontrol-be9d2c5a.md

latest1.7 KB
Original Source

SunburstControl.LabelStyle Property

Gets or sets the style that specifies the appearance of Sunburst chart labels.

Namespace : DevExpress.Xpf.TreeMap

Assembly : DevExpress.Xpf.TreeMap.v25.2.dll

NuGet Package : DevExpress.Wpf.TreeMap

Declaration

csharp
public Style LabelStyle { get; set; }
vb
Public Property LabelStyle As Style

Property Value

TypeDescription
Style

The style applied to Sunburst labels.

|

Remarks

To configure the appearance for sector labels, initialize the LabelStyle property with a Style object. Use the SunburstControl.LabelDisplayMode property to specify label alignment.

xaml
<dxtm:SunburstControl LabelDisplayMode="Tangent">
    <dxtm:SunburstControl.LabelStyle>
        <Style
            TargetType="{x:Type dxtm:SunburstLabelPresentation}">
            <Setter Property="FontSize"
                    Value="10"/>
        </Style>
    </dxtm:SunburstControl.LabelStyle>
    <!--...-->
</dxtm:SunburstControl>

See Also

SunburstControl Class

SunburstControl Members

DevExpress.Xpf.TreeMap Namespace