Interface ICustomReportItem
Defines methods and properties for implementing a custom report item within a reporting framework.
Namespace: BoldReports.RDL.Data
Assembly: BoldReports.Web.dll
Syntax
public interface ICustomReportItem
  Properties
Logger
Gets or sets the logger used for reporting operations within the custom report item.
Declaration
IReportLogger Logger { get; set; }
  Property Value
| Type | Description | 
|---|---|
| IReportLogger | An IReportLogger for logging report-related activities.  | 
      
Methods
EvaluateReportItemInstance(CustomReportItem)
Evaluates the report item that will be rendered in place of the custom report item.
Declaration
void EvaluateReportItemInstance(CustomReportItem cri)
  Parameters
| Type | Name | Description | 
|---|---|---|
| BoldReports.RDL.Data.CustomReportItem | cri | The custom report item to be evaluated to produce a report item instance.  | 
      
GenerateReportItemDefinition(CustomReportItem)
Generates the native report item definition that will be rendered in place of the custom report item.
Declaration
void GenerateReportItemDefinition(CustomReportItem cri)
  Parameters
| Type | Name | Description | 
|---|---|---|
| BoldReports.RDL.Data.CustomReportItem | cri | The custom report item to be converted into a native report item definition.  | 
      
GetReportItemData(CustomReportItem)
Gets the data associated with the report item.
Declaration
string GetReportItemData(CustomReportItem cri)
  Parameters
| Type | Name | Description | 
|---|---|---|
| BoldReports.RDL.Data.CustomReportItem | cri | The custom report item from which to retrieve data.  | 
      
Returns
| Type | Description | 
|---|---|
| System.String | A System.String containing the data associated with the custom report item.  |