Back to Devexpress

ReportDesignerBase.ReportStorage Property

wpf-devexpress-dot-xpf-dot-reports-dot-userdesigner-dot-reportdesignerbase-b55bf8ba.md

latest3.6 KB
Original Source

ReportDesignerBase.ReportStorage Property

Specifies a report storage for the End-User Report Designer.

Namespace : DevExpress.Xpf.Reports.UserDesigner

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

NuGet Package : DevExpress.Wpf.Reporting

Declaration

csharp
public IReportStorage ReportStorage { get; set; }
vb
Public Property ReportStorage As IReportStorage

Property Value

TypeDescription
IReportStorage

An object implementing the IReportStorage interface.

|

Remarks

This property allows you to specify a custom report storage for the End-User Report Designer to persist report definitions in a database or any custom location. This may be useful when providing end-users with the capability to create and customize reports using the End-User Report Designer if it is necessary to have a common target for saving and sharing all reports.

To implement a report storage, use the methods of the IReportStorage interface. For more information, refer to the Storing Reports in the Report Designer document.

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

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/MainWindow.xaml.cs#L32

csharp
{
    reportDesigner.ReportStorage = new DataSetFileStorage();
}

reporting-wpf-report-storage/VB/WpfApplication38/MainWindow.xaml.vb#L30

vb
Private Sub MainWindow_Loaded(ByVal sender As Object, ByVal e As RoutedEventArgs)
    reportDesigner.ReportStorage = New DataSetFileStorage()
End Sub

See Also

Store Reports in the Report Designer

ReportDesignerBase Class

ReportDesignerBase Members

DevExpress.Xpf.Reports.UserDesigner Namespace