Skip to main content

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

SunburstPaletteColorizer Class

The colorizer that colors sunburst items using a palette.

Namespace: DevExpress.XtraTreeMap

Assembly: DevExpress.XtraTreeMap.v24.2.dll

NuGet Package: DevExpress.TreeMap

#Declaration

public class SunburstPaletteColorizer :
    SunburstPaletteColorizerBase

#Example

This example demonstrates how to use SunburstPaletteColorizer to color sunburst items.

Assign a SunburstPaletteColorizer object to the SunburstControl.Colorizer property.

Use the SunburstPaletteColorizer.VaryColorInGroup property to specify whether to color each item in the same group.

The SunburstPaletteColorizerBase.Palette property allows you to define a palette.

sunburst.Colorizer = new SunburstPaletteColorizer() {
    VaryColorInGroup = false,
    Palette = Palette.Office2019Palette
};

#Implements

See Also