Class
TreeMapPanel

Arranges child elements according to a TreeMapAlgorithm.

Definition

Namespace:Telerik.Windows.Controls.TreeMap

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public sealed class TreeMapPanel : VirtualizingPanel

Inheritance: objectTreeMapPanel

Constructors

TreeMapPanel()

Declaration

cs-api-definition
public TreeMapPanel()

Fields

LayoutAlgorithmProperty

Identifies the dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty LayoutAlgorithmProperty

Field Value

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

cs-api-definition
protected override Size ArrangeOverride(Size finalSize)

Parameters

finalSize

Size

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.

GetLayoutAlgorithm(DependencyObject)

Gets the layout algorithm.

Declaration

cs-api-definition
public static TreeMapAlgorithm GetLayoutAlgorithm(DependencyObject obj)

Parameters

obj

DependencyObject

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

cs-api-definition
protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize

Size

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.

OnItemsChanged(object, ItemsChangedEventArgs)

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

Declaration

cs-api-definition
protected override void OnItemsChanged(object sender, ItemsChangedEventArgs args)

Parameters

sender

object

The object that raised the event.

args

ItemsChangedEventArgs

Provides data for the event.

SetLayoutAlgorithm(DependencyObject, TreeMapAlgorithm)

Sets the layout algorithm.

Declaration

cs-api-definition
public static void SetLayoutAlgorithm(DependencyObject obj, TreeMapAlgorithm value)

Parameters

obj

DependencyObject

The TreeMapPanel object.

value

TreeMapAlgorithm

The value.