TreeMapGradientColorizer.StartColor Property
In This Article
Gets or sets the start color of the gradient used to color tree map items.
Namespace: DevExpress.Xpf.TreeMap
Assembly: DevExpress.Xpf.TreeMap.v24.2.dll
NuGet Package: DevExpress.Wpf.TreeMap
#Declaration
#Property Value
Type | Description |
---|---|
Color | A Color value. |
#Example
To color tree map items using the Gradient Colorizer, do the following.
- Assign a newly created TreeMapGradientColorizer object to the TreeMapControl.Colorizer property.
- Specify the required gradient start and end colors using the
TreeMapGradientColorizer.StartColor
and TreeMapGradientColorizer.EndColor properties.
<dxtm:TreeMapControl.Colorizer>
<dxtm:TreeMapGradientColorizer
EndColor="#FFFF5A19"
StartColor="#FF6EC95C"/>
</dxtm:TreeMapControl.Colorizer>
See Also