Back to Devexpress

SunburstSectorPresentation.Fill Property

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

latest2.1 KB
Original Source

SunburstSectorPresentation.Fill Property

Gets or sets the brush that is used to fill the Sunburst sector background.

Namespace : DevExpress.Xpf.TreeMap

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

NuGet Package : DevExpress.Wpf.TreeMap

Declaration

csharp
public Brush Fill { get; set; }
vb
Public Property Fill As Brush

Property Value

TypeDescription
Brush

A brush that is used to paint the sector background.

|

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>

See Also

SunburstSectorPresentation Class

SunburstSectorPresentation Members

DevExpress.Xpf.TreeMap Namespace