Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 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

SunburstControl.Colorizer Property

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

Namespace: DevExpress.Xpf.TreeMap

Assembly: DevExpress.Xpf.TreeMap.v24.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