TreeMapItemStyle
Stores the background, foreground, and border colors for a tree map item or group.
Local color values take precedence over values supplied by the configured colorizer.
Definition
Namespace:Telerik.WinControls.UI.TreeMap
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class TreeMapItemStyle
Inheritance: objectTreeMapItemStyle
Constructors
Initializes effective colors to white, black, and empty for the background, foreground, and border.
public TreeMapItemStyle()
These initial values are not local overrides and can be replaced by a colorizer.
Properties
Gets the backing color state used for the background.
protected virtual TreeMapItemStyleColor BackColorStyle { get; }
Gets or sets the border color.
public Color BorderColor { get; set; }
Gets the backing color state used for the border.
protected virtual TreeMapItemStyleColor BorderColorStyle { get; }
Sets the back color from the colorizer. If the value is locally set the this property will not be applied.
public virtual Color ColorizerBackColor { get; set; }
Sets the border color from the colorizer. If the value is locally set the this property will not be applied.
public virtual Color ColorizerBorderColor { get; set; }
Sets the fore color from the colorizer. If the value is locally set the this property will not be applied.
public virtual Color ColorizerForeColor { get; set; }
Gets the backing color state used for the foreground.
protected virtual TreeMapItemStyleColor ForeColorStyle { get; }
Methods
Sets a color as either a local override or a colorizer-provided value.
public virtual void SetStyleColor(TreeMapItemStyleColor style, Color color, bool isLocal = true)
The color state to update; null is ignored.
colorColorThe color to apply or record.
isLocalbooltrue to make a non-empty color override colorizer output; otherwise, record it as colorizer output.
A local value of Empty clears the override and restores the last colorizer value. Colorizer values are recorded even while a local override remains active.