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

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v20.1.dll

Declaration

public static ReportDesignerModel GetModel(
    XtraReport report,
    IDictionary<string, object> dataSources,
    IEnumerable<ClientControlsMenuItem> menuItems
)
Public Shared Function GetModel(
    report As XtraReport,
    dataSources As IDictionary(Of String, Object),
    menuItems As IEnumerable(Of ClientControlsMenuItem)
) As ReportDesignerModel

Parameters

Name Type Description
report XtraReport

An XtraReport object.

dataSources IDictionary<String, Object>

A dictionary, listing the data sources by their names.

menuItems IEnumerable<ClientControlsMenuItem>

A collection of ClientControlsMenuItem objects.

Returns

Type Description
ReportDesignerModel

A ReportDesignerModel object.

See Also