Back to Devexpress

TreeMapPaletteColorizer Class

wpf-devexpress-dot-xpf-dot-treemap-1a5264e7.md

latest2.7 KB
Original Source

TreeMapPaletteColorizer Class

The colorizer that colors tree map items using a palette.

Namespace : DevExpress.Xpf.TreeMap

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

NuGet Package : DevExpress.Wpf.TreeMap

Declaration

csharp
public class TreeMapPaletteColorizer :
    TreeMapPaletteColorizerBase
vb
Public Class TreeMapPaletteColorizer
    Inherits TreeMapPaletteColorizerBase

Remarks

This colorizer colors each tree map in a new palette color.

If the TreeMapPaletteColorizer.ColorizeGroups is set to true , this colorizer colors each group using a new palette color.

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

Example

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

xaml
<dxtm:TreeMapControl.Colorizer>
    <dxtm:TreeMapPaletteColorizer 
        ColorizeGroups="True">
        <dxtm:Office2016Palette/>
    </dxtm:TreeMapPaletteColorizer>
</dxtm:TreeMapControl.Colorizer>

Inheritance

Object DispatcherObject DependencyObject Freezable TreeMapDependencyObject TreeMapColorizerBase TreeMapPaletteColorizerBase TreeMapPaletteColorizer

See Also

TreeMapPaletteColorizer Members

DevExpress.Xpf.TreeMap Namespace