Skip to main content
A newer version of this page is available. .
All docs
V20.2

SunburstSectorPresentation.Stroke Property

Gets or sets the brush that is used to draw the Sunburst sector outline.

Namespace: DevExpress.Xpf.TreeMap

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.TreeMap, DevExpress.Wpf.TreeMap

Declaration

public Brush Stroke { get; set; }

Property Value

Type Description
Brush

The brush that is used to draw the Sunburst sector outline.

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