Class TreeMapPanel
Arranges child elements according to a TreeMapAlgorithm.
Inheritance
Namespace: Telerik.Windows.Controls.TreeMap
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public sealed class TreeMapPanel : VirtualizingPanel
Constructors
TreeMapPanel()
Declaration
public TreeMapPanel()
Fields
LayoutAlgorithmProperty
Identifies the Telerik.Windows.Controls.TreeMap.TreeMapPanel.LayoutAlgorithm dependency property.
Declaration
public static readonly DependencyProperty LayoutAlgorithmProperty
Field Value
System.Windows.DependencyProperty
|
Methods
ArrangeOverride(Size)
Provides the behavior for the Arrange pass of Silverlight layout. Classes can override this method to define their own Arrange pass behavior.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
System.Windows.Size
finalSize
The final area within the parent that this object should use to arrange itself and its children. |
Returns
System.Windows.Size
The actual size that is used after the element is arranged in layout. |
GetLayoutAlgorithm(DependencyObject)
Gets the layout algorithm.
Declaration
public static TreeMapAlgorithm GetLayoutAlgorithm(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
The TreeMapPanel object. |
Returns
TreeMapAlgorithm
|
MeasureOverride(Size)
Provides the behavior for the Measure pass of Silverlight layout. Classes can override this method to define their own Measure pass behavior.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System.Windows.Size
availableSize
The available size that this object can give to child objects. Infinity (System.Double.PositiveInfinity) can be specified as a value to indicate that the object will size to whatever content is available. |
Returns
System.Windows.Size
The size that this object determines it needs during layout, based on its calculations of the allocated sizes for child objects; or based on other considerations, such as a fixed container size. |
OnItemsChanged(Object, ItemsChangedEventArgs)
Called when the System.Windows.Controls.ItemsControl.Items collection that is associated with the System.Windows.Controls.ItemsControl for this System.Windows.Controls.Panel changes.
Declaration
protected override void OnItemsChanged(object sender, ItemsChangedEventArgs args)
Parameters
System.Object
sender
The System.Object that raised the event. |
System.Windows.Controls.Primitives.ItemsChangedEventArgs
args
Provides data for the System.Windows.Controls.ItemContainerGenerator.ItemsChanged event. |
SetLayoutAlgorithm(DependencyObject, TreeMapAlgorithm)
Sets the layout algorithm.
Declaration
public static void SetLayoutAlgorithm(DependencyObject obj, TreeMapAlgorithm value)
Parameters
System.Windows.DependencyObject
obj
The TreeMapPanel object. |
TreeMapAlgorithm
value
The value. |