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

ITreeMapLayoutItem.Weight Property

Returns the weight of the tree map item in its parent layout.

Namespace: DevExpress.Xpf.TreeMap

Assembly: DevExpress.Xpf.TreeMap.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.TreeMap, DevExpress.Wpf.TreeMap

Declaration

double Weight { get; }

Property Value

Type Description
Double

A Double value specifying the weight.

Remarks

The Width and Height of the ITreeMapLayoutItem.Layout should be calculated depending on this value.

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

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.

See Also