How to: Color Tree Map Using the Palette Colorizer
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>