Skip to main content

DashboardLayoutItem(DashboardItem, Double) Constructor

Initializes a new instance of the DashboardLayoutItem class.

Namespace: DevExpress.DashboardCommon

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

NuGet Package: DevExpress.Dashboard.Core

Declaration

public DashboardLayoutItem(
    DashboardItem dashboardItem,
    double weight
)

Parameters

Name Type Description
dashboardItem DashboardItem

A DashboardItem descendant specifying the dashboard item that will be displayed in a created layout item. This value is assigned to the DashboardLayoutNode.DashboardItem property.

weight Double

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

See Also