[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Rendering.Components.RenderReportItemFactory.CreateCustomReportItem

CreateCustomReportItem Method

CreateCustomReportItem(IReportRenderingContext, CustomReportItem, IDataScopeInternal, IReportItemProgram<ReportItem>)

Creates a custom report item from the specified definition, data context, and program.

Declaration
public virtual IReportItem CreateCustomReportItem(IReportRenderingContext context, CustomReportItem definition, IDataScopeInternal dataContext, IReportItemProgram<ReportItem> program)
Parameters
Type Name Description
IReportRenderingContext context

The IReportRenderingContext used for this report.

CustomReportItem definition

The custom report item definition.

IDataScopeInternal dataContext

The IDataScopeInternal to use as a data source for the created report items.

IReportItemProgram<ReportItem> program

The program used to create the custom report item.

Returns
Type Description
IReportItem

A custom IReportItem instance.

Implements