skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class TreeMapPanel

Arranges child elements according to a TreeMapAlgorithm.

Inheritance
System.Object
TreeMapPanel
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.

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.