Class ColorMapping
Class which represents the color mapping.
Inheritance
System.Object
ColorMapping
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.TreeMap
Assembly: Syncfusion.TreeMap.Windows.dll
Syntax
public class ColorMapping
Constructors
ColorMapping()
Declaration
public ColorMapping()
Methods
EvaluateColorMapping(List<TreeMapItem>)
Evaluate color mapping for tree map items.
Declaration
public virtual void EvaluateColorMapping(List<TreeMapItem> treeMapItems)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<TreeMapItem> | treeMapItems | The tree map items. |
EvaluateColorMapping(List<TreeMapLeafNode>)
Evaluate color mapping for leaf nodes.
Declaration
public virtual void EvaluateColorMapping(List<TreeMapLeafNode> leafNodes)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<TreeMapLeafNode> | leafNodes | The leaf node. |
SetColor(TreeMapLeafNode, Brush)
Set mapped color for tree map leaf node.
Declaration
public void SetColor(TreeMapLeafNode item, Brush brush)
Parameters
Type | Name | Description |
---|---|---|
TreeMapLeafNode | item | The tree map leaf node. |
System.Drawing.Brush | brush | The color value. |