Class TreeMapItemDefinitionSelector
Provides a way to choose a TreeMapItemDefinition based on the data item and the level of the item in the tree.
Inheritance
System.Object
TreeMapItemDefinitionSelector
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Windows.Controls.DataVisualization
Assembly: Controls.DataVisualization.OpenSilver.dll
Syntax
public abstract class TreeMapItemDefinitionSelector
Constructors
| Improve this Doc View SourceTreeMapItemDefinitionSelector()
Initializes a new instance of the TreeMapItemDefinitionSelector class.
Declaration
protected TreeMapItemDefinitionSelector()
Methods
| Improve this Doc View SourceSelectItemDefinition(TreeMap, Object, Int32)
Returns an instance of a TreeMapItemDefinition class used to specify properties for the current item.
Declaration
public abstract TreeMapItemDefinition SelectItemDefinition(TreeMap treeMap, object item, int level)
Parameters
Type | Name | Description |
---|---|---|
TreeMap | treeMap | Reference to the TreeMap class. |
System.Object | item | One of the nodes in the ItemsSource hierarchy. |
System.Int32 | level | The level of the node in the hierarchy. |
Returns
Type | Description |
---|---|
TreeMapItemDefinition | The TreeMapItemDefinition to be used for this node. If this method returns null the TreeMap will use the value of its ItemDefinition property. |