Skip to main content

IDashboardStateService.GetState(String, XDocument) Method

Gets the dashboard state for the current state service.

Namespace: DevExpress.DashboardWeb

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

NuGet Package: DevExpress.Web.Dashboard.Common

#Declaration

DashboardState GetState(
    string dashboardId,
    XDocument dashboard
)

#Parameters

Name Type Description
dashboardId String

A String value that specifies the dashboard identifier.

dashboard XDocument

A XDocument object that is the XML document containing the dashboard.

#Returns

Type Description
DashboardState

A DashboardState object containing a dashboard sate.

See Also