Back to Devexpress

How to: Color Tree Map Using the Palette Colorizer

wpf-114969-controls-and-libraries-treemap-control-colorizers-examples-how-to-color-tree-map-using-the-palette-colorizer.md

latest950 B
Original Source

How to: Color Tree Map Using the Palette Colorizer

  • Jun 07, 2019

To color tree map items using the Palette Colorizer, do the following.

xaml
<dxtm:TreeMapControl.Colorizer>
    <dxtm:TreeMapPaletteColorizer 
        ColorizeGroups="True">
        <dxtm:Office2016Palette/>
    </dxtm:TreeMapPaletteColorizer>
</dxtm:TreeMapControl.Colorizer>