Skip to main content
A newer version of this page is available. .

TreeMapStripedLayoutAlgorithm Class

A class representing the Strip layout algorithm.

Namespace: DevExpress.XtraTreeMap

Assembly: DevExpress.XtraTreeMap.v18.1.dll

Declaration

public class TreeMapStripedLayoutAlgorithm :
    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.

StripLayoutAlgorithm

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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TreeMapStripedLayoutAlgorithm class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

See Also