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.v24.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>
See Also