windowsforms-devexpress-dot-xtratreemap-4179cafb.md
A class representing the Slice and Dice layout algorithm.
Namespace : DevExpress.XtraTreeMap
Assembly : DevExpress.XtraTreeMap.v25.2.dll
NuGet Package : DevExpress.TreeMap
public class TreeMapSliceAndDiceLayoutAlgorithm :
TreeMapLayoutAlgorithmBase
Public Class TreeMapSliceAndDiceLayoutAlgorithm
Inherits TreeMapLayoutAlgorithmBase
This algorithm calculates the layout using the following principle. For each tree map level, the layout direction is selected depending on the width/height ratio (for TreeMapSliceAndDiceLayoutAlgorithm.LayoutMode = TreeMapSliceAndDiceLayoutMode.Auto ), and for all children items at a given level, the display area is divided amongst the children, where each child item obtains a slice proportional to its value.
The following image demonstrates the country area tree map with a layout calculated using this algorithm.
For more information about Layout Algorithms, refer to the Layout Algorithms topic.
Object HierarchicalElement TreeMapElement TreeMapLayoutAlgorithmBase TreeMapSliceAndDiceLayoutAlgorithm
See Also