Skip to main content

ReportDesignerExtension.GetModel(XtraReport, IDictionary<String, Object>, IDictionary<String, String>, IEnumerable<ClientControlsMenuItem>) Method

Returns the session settings of a Web Report Designer with the specified report, menu items, data sources and subreports.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public static ReportDesignerModel GetModel(
    XtraReport report,
    IDictionary<string, object> dataSources,
    IDictionary<string, string> subreports,
    IEnumerable<ClientControlsMenuItem> menuItems
)

Parameters

Name Type Description
report XtraReport

An XtraReport object.

dataSources IDictionary<String, Object>

A dictionary, listing the data sources by their names.

subreports IDictionary<String, String>

A dictionary, listing the subreports by their names.

menuItems IEnumerable<ClientControlsMenuItem>

A collection of ClientControlsMenuItem objects.

Returns

Type Description
ReportDesignerModel

A ReportDesignerModel object.

See Also