Back to Devexpress

TreeMapStripedLayoutAlgorithm Class

windowsforms-devexpress-dot-xtratreemap-f59d6c8d.md

latest2.0 KB
Original Source

TreeMapStripedLayoutAlgorithm Class

A class representing the Strip layout algorithm.

Namespace : DevExpress.XtraTreeMap

Assembly : DevExpress.XtraTreeMap.v25.2.dll

NuGet Package : DevExpress.TreeMap

Declaration

csharp
public class TreeMapStripedLayoutAlgorithm :
    TreeMapLayoutAlgorithmBase
vb
Public Class TreeMapStripedLayoutAlgorithm
    Inherits TreeMapLayoutAlgorithmBase

Remarks

Under this algorithm, for each item to layout, check whether adding the item to the current strip improves the average aspect ratios of the rectangles in the current strip. If the average aspect ratio is improved, the rectangle is added to the current strip, otherwise, the current strip is fixed and a new strip is created, to which the item is added.

The following image demonstrates the layout calculated using this algorithm.

For more information about Layout Algorithms, refer to the Layout Algorithms topic.

Implements

ITreeMapLayoutAlgorithm

Inheritance

Object HierarchicalElement TreeMapElement TreeMapLayoutAlgorithmBase TreeMapStripedLayoutAlgorithm

See Also

TreeMapStripedLayoutAlgorithm Members

DevExpress.XtraTreeMap Namespace