Skip to main content
A newer version of this page is available. .

TreeMapGroupGradientColorizer Class

The colorizer that colors the tree map items in colors blended from group colors and gradient colors in a proportion based on the tree map item value.

Namespace: DevExpress.Xpf.TreeMap

Assembly: DevExpress.Xpf.TreeMap.v19.1.dll

Declaration

public class TreeMapGroupGradientColorizer :
    TreeMapPaletteColorizerBase

Remarks

This class introduces the TreeMapGroupGradientColorizer.GradientColor that allows specifying the mixing color, and the TreeMapGroupGradientColorizer.Min and TreeMapGroupGradientColorizer.Max properties specifying the maximum and minimum of portion of the color assigned to the item’s group.

Example

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

<dxtm:TreeMapControl.Colorizer>
    <dxtm:TreeMapGroupGradientColorizer 
        GradientColor="White"
        Min="0.5"
        Max="1">
        <dxtm:Office2013Palette/>
    </dxtm:TreeMapGroupGradientColorizer>
</dxtm:TreeMapControl.Colorizer>

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TreeMapGroupGradientColorizer 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