Back to Devexpress

SunburstPaletteColorizer Class

windowsforms-devexpress-dot-xtratreemap-1ae38424.md

latest2.4 KB
Original Source

SunburstPaletteColorizer Class

The colorizer that colors sunburst items using a palette.

Namespace : DevExpress.XtraTreeMap

Assembly : DevExpress.XtraTreeMap.v25.2.dll

NuGet Package : DevExpress.TreeMap

Declaration

csharp
public class SunburstPaletteColorizer :
    SunburstPaletteColorizerBase
vb
Public Class SunburstPaletteColorizer
    Inherits 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.

csharp
sunburst.Colorizer = new SunburstPaletteColorizer() {
    VaryColorInGroup = false,
    Palette = Palette.Office2019Palette
};
vb
sunburst.Colorizer = New SunburstPaletteColorizer With {
    .VaryColorInGroup = False,
    .Palette = Palette.Office2019Palette
}

Implements

ISunburstColorizer

Inheritance

Object HierarchicalElement SunburstElement SunburstColorizerBase SunburstPaletteColorizerBase SunburstPaletteColorizer

See Also

SunburstPaletteColorizer Members

DevExpress.XtraTreeMap Namespace