TreeMapGradientColorizer.EndColor Property
Gets or sets the end color of the gradient used to color tree map items.
Namespace: DevExpress.Xpf.TreeMap
Assembly: DevExpress.Xpf.TreeMap.v19.2.dll
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.
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-color-tree-map-items-using-gradient-colorizer-t307515.
<dxtm:TreeMapControl.Colorizer>
<dxtm:TreeMapGradientColorizer
EndColor="#FFFF5A19"
StartColor="#FF6EC95C"/>
</dxtm:TreeMapControl.Colorizer>
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EndColor 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.