ReportDesigner.DocumentSource Property
Gets or sets the document source. This is a dependency property.
Namespace: DevExpress.Xpf.Reports.UserDesigner
Assembly: DevExpress.Xpf.ReportDesigner.v24.1.dll
NuGet Package: DevExpress.Wpf.Reporting
Declaration
Property Value
Type | Description |
---|---|
Object | An object specifying the document source. |
Remarks
The following source types are supported:
The code below demonstrates how to load a specific report to the Report Designer by assigning the report instance to the DocumentSource property.
using DevExpress.Xpf.Reports.UserDesigner;
// ...
private void SimpleButton_Click(object sender, RoutedEventArgs e)
{
XtraReport1 report = new XtraReport1();
ReportDesigner designer = new ReportDesigner();
designer.DocumentSource = report;
designer.ShowWindow(null);
}
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the DocumentSource 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.