TreeMapControl.Colorizer Property
Gets or sets the colorizer used to colorize TreeMap items.
Namespace: DevExpress.Xpf.TreeMap
Assembly: DevExpress.Xpf.TreeMap.v24.1.dll
NuGet Package: DevExpress.Wpf.TreeMap
Declaration
Property Value
Type | Description |
---|---|
TreeMapColorizerBase | A TreeMapColorizerBase class descendant object. |
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>
See Also