Class TreeMapItemDefinition
Represents a class that defines various aspects of TreeMap items.
Inheritance
Namespace: System.Windows.Controls.DataVisualization
Assembly: Controls.DataVisualization.OpenSilver.dll
Syntax
public class TreeMapItemDefinition : INotifyPropertyChanged
Constructors
| Improve this Doc View SourceTreeMapItemDefinition()
Initializes a new instance of the TreeMapItemDefinition class.
Declaration
public TreeMapItemDefinition()
Properties
| Improve this Doc View SourceChildItemPadding
Gets or sets a property representing the amount of space to leave between a parent item and its children.
Declaration
public Thickness ChildItemPadding { get; set; }
Property Value
Type | Description |
---|---|
Thickness |
ItemsSource
Gets or sets the binding that indicates where to find the collection that represents the next level in the data hierarchy.
Declaration
public Binding ItemsSource { get; set; }
Property Value
Type | Description |
---|---|
Binding |
ItemTemplate
Gets or sets a value representing the DataTemplate to instantiate in order to create a representation of each TreeMap item.
Declaration
public DataTemplate ItemTemplate { get; set; }
Property Value
Type | Description |
---|---|
DataTemplate |
ValueBinding
Gets or sets a value representing a binding which can be used to retrieve the value associated with each item, needed to calculate relative areas of TreeMap items.
Declaration
public Binding ValueBinding { get; set; }
Property Value
Type | Description |
---|---|
Binding |
ValuePath
Gets or sets the Value Path used to set ValueBinding for retrieving the value associated with each item, needed to calculate relative areas of TreeMap items.
Declaration
public string ValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceNotifyPropertyChanged(String)
Updates the TreeMap if one of properties changes.
Declaration
protected void NotifyPropertyChanged(string parameterName)
Parameters
Type | Name | Description |
---|---|---|
System.String | parameterName | The parameter name. |
Events
| Improve this Doc View SourcePropertyChanged
PropertyChanged event required by INotifyPropertyChanged.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
PropertyChangedEventHandler |