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