Show / Hide Table of Contents

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.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: System.Windows.Controls.DataVisualization
Assembly: OpenSilver.Controls.DataVisualization.Toolkit.dll
Syntax
public abstract class TreeMapItemDefinitionSelector

Constructors

| Improve this Doc View Source

TreeMapItemDefinitionSelector()

Initializes a new instance of the TreeMapItemDefinitionSelector class.

Declaration
protected TreeMapItemDefinitionSelector()

Methods

| Improve this Doc View Source

SelectItemDefinition(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.

  • Improve this Doc
  • View Source