Skip to main content

SunburstPaletteColorizer Class

The colorizer that colors sunburst items using a palette.

Namespace: DevExpress.XtraTreeMap

Assembly: DevExpress.XtraTreeMap.v23.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