TreeMapPaletteColorizerBase.Palette Property
Gets or sets the palette used to color tree map items by the colorizer.
Namespace: DevExpress.Xpf.TreeMap
Assembly: DevExpress.Xpf.TreeMap.v22.2.dll
NuGet Package: DevExpress.Wpf.TreeMap
Declaration
Property Value
Type | Description |
---|---|
PaletteBase | A PaletteBase 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 snippet (auto-collected from DevExpress Examples) contains a reference to the Palette 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.