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

This class is responsible for arranging the TreeMapDataItem elements in slices.

Definition

Namespace:Telerik.WinControls.UI.TreeMap

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public sealed class SliceDiceAlgorithm : TreeMapAlgorithm

Inheritance: objectTreeMapAlgorithmSliceDiceAlgorithm

Constructors

Initializes a new instance of the SliceDiceAlgorithm class.

C#
public SliceDiceAlgorithm()

Properties

Gets or sets the orientation.

C#
public SliceDiceOrientation Orientation { get; set; }
Property Value:

The orientation.

Gets or sets the sort direction.

C#
public ListSortDirection SortDirection { get; set; }
Property Value:

The sort direction.

Methods

Calculates the rectangles.

C#
public override IList<RectangleF> CalculateRectangles(IEnumerable<double> data, SizeF availableSize)
Parameters:dataIEnumerable<double>

The data.

availableSizeSizeF

Size of the available.

Returns:

IList<RectangleF>

Overrides: TreeMapAlgorithm.CalculateRectangles(IEnumerable<double>, SizeF)