TreeMapPaletteColorizer.ColorizeGroups Property
Gets or sets value indicating whether or not tree map items should be colorized by groups.
Namespace: DevExpress.Xpf.TreeMap
Assembly: DevExpress.Xpf.TreeMap.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, if items in one group should be colorized using one color; otherwise false. |
Remarks
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.
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-color-tree-map-items-using-palette-colorizer-t307455.
<dxtm:TreeMapControl.Colorizer>
<dxtm:TreeMapPaletteColorizer
ColorizeGroups="True">
<dxtm:Office2016Palette/>
</dxtm:TreeMapPaletteColorizer>
</dxtm:TreeMapControl.Colorizer>
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ColorizeGroups 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.