[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Rendering.ICustomReportItemFactory.CreateCustomReportItem

CreateCustomReportItem Method

CreateCustomReportItem(IServiceProvider, string, IDataScope, IPropertyBag)

Tries to creates new custom report item based on the specified settings.

Declaration
IReportItem CreateCustomReportItem(IServiceProvider serviceProvider, string type, IDataScope dataContext, IPropertyBag properties)
Parameters
Type Name Description
IServiceProvider serviceProvider

The service provider to resolve reports core configuration.

string type

The type of CRI to create.

IDataScope dataContext

The data context to initialize CRI with.

IPropertyBag properties

The properties to initialize CRI with.

Returns
Type Description
IReportItem

New CRI or null if fails.