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

ReportDesigner.DocumentSource Property

Gets or sets the document source. This is a dependency property.

Namespace: DevExpress.Xpf.Reports.UserDesigner

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


public object DocumentSource { get; set; }

Property Value

Type Description

An object specifying the document source.


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;
See Also