Skip to main content
A newer version of this page is available. .

ReportDataSourceHelper Members

Provides helper methods and events used to manage reports and their data sources.

Constructors

Name Description
ReportDataSourceHelper(XafApplication) Initializes a new instance of the ReportDataSourceHelper class.

Fields

Name Description
XafReportParametersObjectName Specifies the name of the XtraReport parameter that provides access to the XAF report parameters object.

Methods

Name Description
AttachCriteriaWithReportParametersManager(XtraReport) Subscribes to the report’s XRControl.BeforePrint event and updates the report’s data source criteria.
CreateReportObjectSpaceProviderCore(Component) For internal use.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetMasterReportDataSource(XtraReport) Returns the data source of the specified report.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RegisterObjectSpaceProviderService(XtraReport) Registers a service that supplies an IObjectSpace when it is required by the report data source.
RegisterReportEnumLocalizer(XtraReport) Registers a localizer for enumeration types used in a report.
SetupBeforePrint(XtraReport, ReportParametersObjectBase, CriteriaOperator, Boolean, SortProperty[], Boolean) Prepares the report for further printing.
SetupBeforePrint(XtraReport) Prepares the report for further printing.
SetupReport(XtraReport, ReportParametersObjectBase, CriteriaOperator, Boolean, SortProperty[], Boolean) Initializes the specified report.
SetupReport(XtraReport) Initializes the specified report.
SetupReportDataSource(XtraReport, CriteriaOperator, Boolean, SortProperty[], Boolean) Passes criteria and sorting to the report data source.
SetXafReportParametersObject(XtraReport, ReportParametersObjectBase) Adds a ReportParametersObjectBase descendant object that specifies report parameters to the XtraReport.Parameters collection (if this object exists).
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
BeforeShowPreview Occurs when the ReportDataSourceHelper.SetupBeforePrint method is executed.
CustomSetCriteria Occurs when criteria are applied to the report data source.
CustomSetSorting Occurs when sorting is applied to the report data source.
CustomSetupReportDataSource Occurs when the report data source is initialized.
See Also