Back to Devexpress

TreeMapGroupGradientColorizer Class

wpf-devexpress-dot-xpf-dot-treemap-5074665d.md

latest3.2 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.TreeMap

Declaration

csharp
public class TreeMapGroupGradientColorizer :
    TreeMapPaletteColorizerBase
vb
Public Class TreeMapGroupGradientColorizer
    Inherits 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.

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

Inheritance

Object DispatcherObject DependencyObject Freezable TreeMapDependencyObject TreeMapColorizerBase TreeMapPaletteColorizerBase TreeMapGroupGradientColorizer

See Also

TreeMapGroupGradientColorizer Members

DevExpress.Xpf.TreeMap Namespace