New to Telerik UI for WPFStart a free 30-day trial

Arranges child elements according to a TreeMapAlgorithm.

Definition

Namespace:Telerik.Windows.Controls.TreeMap

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public sealed class TreeMapPanel : VirtualizingPanel

Inheritance: objectTreeMapPanel

Constructors

C#
public TreeMapPanel()

Fields

LayoutAlgorithmProperty

DependencyProperty

Identifies the dependency property.

C#
public static readonly DependencyProperty LayoutAlgorithmProperty

Methods

Provides the behavior for the Arrange pass of Silverlight layout. Classes can override this method to define their own Arrange pass behavior.

C#
protected override Size ArrangeOverride(Size finalSize)
Parameters:finalSizeSize

The final area within the parent that this object should use to arrange itself and its children.

Returns:

Size

The actual size that is used after the element is arranged in layout.

Gets the layout algorithm.

C#
public static TreeMapAlgorithm GetLayoutAlgorithm(DependencyObject obj)
Parameters:objDependencyObject

The TreeMapPanel object.

Returns:

TreeMapAlgorithm

Provides the behavior for the Measure pass of Silverlight layout. Classes can override this method to define their own Measure pass behavior.

C#
protected override Size MeasureOverride(Size availableSize)
Parameters:availableSizeSize

The available size that this object can give to child objects. Infinity (PositiveInfinity) can be specified as a value to indicate that the object will size to whatever content is available.

Returns:

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.

Called when the collection that is associated with the for this Panel changes.

C#
protected override void OnItemsChanged(object sender, ItemsChangedEventArgs args)
Parameters:senderobject

The object that raised the event.

argsItemsChangedEventArgs

Provides data for the event.

Sets the layout algorithm.

C#
public static void SetLayoutAlgorithm(DependencyObject obj, TreeMapAlgorithm value)
Parameters:objDependencyObject

The TreeMapPanel object.

valueTreeMapAlgorithm

The value.