wpf-devexpress-dot-xpf-dot-treemap-dot-treemaprangecolorizer-475fdc03.md
Gets or sets the color used to colorize groups.
Namespace : DevExpress.Xpf.TreeMap
Assembly : DevExpress.Xpf.TreeMap.v25.2.dll
NuGet Package : DevExpress.Wpf.TreeMap
public Color GroupColor { get; set; }
Public Property GroupColor As Color
| Type | Description |
|---|---|
| Color |
A Color value.
|
To color tree map items using the Range Colorizer, do the following.
Assign a newly created TreeMapRangeColorizer object to the TreeMapControl.Colorizer property.
Specify the required palette using the TreeMapPaletteColorizerBase.Palette property.
Add the required range stops to the TreeMapRangeColorizer.RangeStops property.
Optionally, specify the TreeMapRangeColorizer.GroupColor property.
<dxtm:TreeMapControl.Colorizer>
<dxtm:TreeMapRangeColorizer
RangeStops="1 2 4 8 16 32">
<dxtm:CustomPalette>
<Color>#FF5A19</Color>
<Color>#FEAD2D</Color>
<Color>#E5E335</Color>
<Color>#ACE45C</Color>
<Color>#6EC95C</Color>
</dxtm:CustomPalette>
</dxtm:TreeMapRangeColorizer>
</dxtm:TreeMapControl.Colorizer>
See Also