TreeMapControl.Colorizer Property
Gets or sets the colorizer used to colorize TreeMap items.
Namespace: DevExpress.Xpf.TreeMap
Assembly: DevExpress.Xpf.TreeMap.v20.2.dll
NuGet Packages: DevExpress.WindowsDesktop.Wpf.TreeMap, 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>
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Colorizer property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.