TreeMapPaletteColorizer Class
The colorizer that colors tree map items using a palette.
Namespace: DevExpress.Xpf.TreeMap
Assembly: DevExpress.Xpf.TreeMap.v24.2.dll
NuGet Package: DevExpress.Wpf.TreeMap
Declaration
Remarks
This colorizer colors each tree map in a new palette color.
If the TreeMapPaletteColorizer.ColorizeGroups is set to true, this colorizer colors each group using a new palette color.
For more information about colorizers, refer to the Colorizers topic.
Example
To color tree map items using the Palette Colorizer, do the following.
- Assign a newly created
TreeMapPaletteColorizer
object to the TreeMapControl.Colorizer property. - Specify the required palette using the TreeMapPaletteColorizerBase.Palette property.
- Optionally, set the TreeMapPaletteColorizer.ColorizeGroups property to the required value.
<dxtm:TreeMapControl.Colorizer>
<dxtm:TreeMapPaletteColorizer
ColorizeGroups="True">
<dxtm:Office2016Palette/>
</dxtm:TreeMapPaletteColorizer>
</dxtm:TreeMapControl.Colorizer>
Inheritance
See Also