Skip to main content
All docs
V23.2

SunburstControl.Colorizer Property

Gets or sets a colorizer that is applied to the Sunburst’s sectors.

Namespace: DevExpress.Xpf.TreeMap

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

NuGet Package: DevExpress.Wpf.TreeMap

Declaration

public SunburstColorizerBase Colorizer { get; set; }

Property Value

Type Description
DevExpress.Xpf.TreeMap.SunburstColorizerBase

The colorizer that is used to paint the Sunburst chart.

Remarks

The Sunburst control uses colorizers to paint its sectors based on conditions. To apply a colorizer to a Sunburst chart, initialize the Colorizer property with an object of one of the following classes:

To implement a custom colorizer, create a class that is derived from SunburstPaletteColorizerBase.

Example

The following code uses a SunburstPaletteColorizer to paint a Sunburst chart:

<dxtm:SunburstControl>
    <dxtm:SunburstControl.Colorizer>
        <dxtm:SunburstPaletteColorizer VaryColorInGroup="True">
            <dxtm:SunburstPaletteColorizer.Palette>
                <dxtm:NorthernLightsPalette/>
            </dxtm:SunburstPaletteColorizer.Palette>               
        </dxtm:SunburstPaletteColorizer>
    </dxtm:SunburstControl.Colorizer>
</dxtm:SunburstControl>
See Also