Back to Devexpress

IReportProvider.GetReport() Method

wpf-devexpress-dot-xpf-dot-reports-dot-userdesigner-dot-ireportprovider.md

latest2.5 KB
Original Source

IReportProvider.GetReport() Method

Returns a report instance.

Namespace : DevExpress.Xpf.Reports.UserDesigner

Assembly : DevExpress.Xpf.ReportDesigner.v25.2.dll

NuGet Package : DevExpress.Wpf.Reporting

Declaration

csharp
XtraReport GetReport()
vb
Function GetReport As XtraReport

Returns

TypeDescription
XtraReport

An XtraReport object.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetReport() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

reporting-wpf-report-storage/CS/WpfApplication38/Storages/DataSetFileStorage.cs#L43

csharp
{
    XtraReport report = reportProvider.GetReport();
    if (reportID == null)

reporting-wpf-report-storage/VB/WpfApplication38/Storages/DataSetFileStorage.vb#L39

vb
Public Function Save(ByVal reportID As String, ByVal reportProvider As IReportProvider, ByVal saveAs As Boolean, ByVal reportTitle As String, ByVal designer As IReportDesignerUI) As String Implements IReportStorage.Save
    Dim report As XtraReport = reportProvider.GetReport()
    If reportID Is Nothing Then

See Also

IReportProvider Interface

IReportProvider Members

DevExpress.Xpf.Reports.UserDesigner Namespace