Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    SunburstSectorPresentation Class

    Contains the settings of a control used to render Sunburst chart sectors.

    Namespace: DevExpress.Xpf.TreeMap

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

    NuGet Package: DevExpress.Wpf.TreeMap

    #Declaration

    public class SunburstSectorPresentation :
        Control,
        IHitTestableElement

    #Example

    This example customizes Sunburst chart sector appearance. To do this, initialize the SectorStyle property with a Style object. Then specify the following properties:

    • Fill - Specifies a brush that fills the sector background.
    • Stroke - Defines the sector outline brush.
    • StrokeThickness - Defines the sector outline thickness.
    <dxtm:SunburstControl LabelDisplayMode="Tangent">
        <dxtm:SunburstControl.SectorStyle>
            <Style TargetType="dxtm:SunburstSectorPresentation">
                <Setter Property="Stroke" Value="Yellow" />
                <Setter Property="StrokeThickness" Value="2"/>
                <Setter Property="Fill" Value="Red"/>
            </Style>
        </dxtm:SunburstControl.SectorStyle>
        <!--...-->
    </dxtm:SunburstControl>
    
    See Also