Skip to main content

DashboardLayoutNode.Weight Property

Gets or sets the relative size of the layout item/group.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v23.2.Core.dll

NuGet Package: DevExpress.Dashboard.Core

Declaration

[DefaultValue(1)]
public double Weight { get; set; }

Property Value

Type Default Description
Double 1

A Double value that specifies the relative size of the layout item/group.

Remarks

The Weight property specifies the size of the layout item/group relative to the total weight of the parent’s layout items/groups.

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