PaletteColorizer
Class
A class that is used to colorize the items and groups of RadTreeMapElement by given palette with colors.
Definition
Namespace:Telerik.WinControls.UI.TreeMap
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public class PaletteColorizer : BaseColorizer
Inheritance: objectBaseColorizerPaletteColorizer
Inherited Members
Constructors
Creates a new instance of the PaletteColorizer class.
C#
public PaletteColorizer()
Properties
Gets or sets a value indicating whether to apply the same back color to each item in groups.
C#
public bool ApplySameColorToGroupItems { get; set; }
Gets or sets the palette with colors.
C#
public TreeMapPalette Palette { get; set; }
Methods
Colorizes the groups.
C#
public override void ColorizeGroups(IEnumerable<TreeMapDataItemGroup> groups)
The groups.
Overrides:
Colorizes the items by given item background color.
C#
protected virtual void ColorizeItems(IEnumerable<TreeMapDataItem> items, Color itemColor)
The data items.
itemColorColorThe item back color.
Colorizes the items.
C#
public override void ColorizeItems(IEnumerable<TreeMapDataItem> items)
The data items.
Overrides:
Creates a default palette.