Skip to main content

DashboardLayoutGroup(DashboardLayoutGroupOrientation, Double, DashboardLayoutNode[]) Constructor

Initializes a new instance of the DashboardLayoutGroup class.

Namespace: DevExpress.DashboardCommon

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

NuGet Package: DevExpress.Dashboard.Core

#Declaration

public DashboardLayoutGroup(
    DashboardLayoutGroupOrientation orientation,
    double weight,
    params DashboardLayoutNode[] items
)

#Parameters

Name Type Description
orientation DashboardLayoutGroupOrientation

A DashboardLayoutGroupOrientation enumeration value specifying the orientation of layout items/groups within the group. This value is assigned to the DashboardLayoutGroup.Orientation property.

weight Double

A Double value that specifies the relative size of the layout group. This value is assigned to the DashboardLayoutNode.Weight property.

items DashboardLayoutNode[]

An array of DashboardLayoutNode descendants that specify child layout items and groups for the current layout group.

#Remarks

Use the DashboardLayoutGroup.ChildNodes property to access the collection of child layout items and groups added to the created group.

See Also