Back to Devexpress

SunburstSectorPresentation Class

wpf-devexpress-dot-xpf-dot-treemap-e9f41138.md

latest2.6 KB
Original Source

SunburstSectorPresentation Class

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

Namespace : DevExpress.Xpf.TreeMap

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

NuGet Package : DevExpress.Wpf.TreeMap

Declaration

csharp
public class SunburstSectorPresentation :
    Control,
    IHitTestableElement
vb
Public Class SunburstSectorPresentation
    Inherits Control
    Implements 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.

  • XAML

xaml
<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>

Inheritance

Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control SunburstSectorPresentation

See Also

SunburstSectorPresentation Members

DevExpress.Xpf.TreeMap Namespace