Skip to main content

TreeMapGradientColorizer Class

The colorizer that colors tree map items from the TreeMapGradientColorizer.StartColor to the TreeMapGradientColorizer.EndColor using a gradient.

Namespace: DevExpress.Xpf.TreeMap

Assembly: DevExpress.Xpf.TreeMap.v22.2.dll

NuGet Package: DevExpress.Wpf.TreeMap

Declaration

public class TreeMapGradientColorizer :
    TreeMapColorizerBase

Remarks

For more information about colorizers, refer to the Colorizers topic.

Example

To color tree map items using the Gradient Colorizer, do the following.

View Example

<dxtm:TreeMapControl.Colorizer>
    <dxtm:TreeMapGradientColorizer 
        EndColor="#FFFF5A19" 
        StartColor="#FF6EC95C"/>
</dxtm:TreeMapControl.Colorizer>

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TreeMapGradientColorizer class.

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.

See Also