Skip to main content

ReportDesignerDocument Members

A single document in the End-User Report Designer.

Fields

Name Description
CanSaveProperty static Identifies the ReportDesignerDocument.CanSave dependency property.
DiagramProperty static Identifies the ReportDesignerDocument.Diagram dependency property.
HasChangesProperty static Identifies the ReportDesignerDocument.HasChanges dependency property.
PreviewProperty static Identifies the ReportDesignerDocument.Preview dependency property.
PreviewReportProperty static Identifies the ReportDesignerDocument.PreviewReport dependency property.
ReportModelProperty static Identifies the ReportDesignerDocument.ReportModel dependency property.
ReportProperty static Identifies the ReportDesignerDocument.Report dependency property.
SourceProperty static Identifies the ReportDesignerDocument.Source dependency property.
TagProperty static Identifies the ReportDesignerDocument.Tag dependency property.
TitleProperty static Identifies the ReportDesignerDocument.Title dependency property.
ViewKindProperty static Identifies the ReportDesignerDocument.ViewKind dependency property.

Properties

Name Description
CanSave Returns whether the current designer document can be saved. This is a dependency property.
Diagram For internal use.
HasChanges Gets whether a report displayed by the current document has been changed. This is a dependency property.
Preview Provides access to the print preview of the report displayed in the current designer document. This is a dependency property.
PreviewReport Provides access to a report displayed in the print preview of the current designer document. This is a dependency property.
Report Gets a report displayed in the current designer document. This is a dependency property.
ReportModel For internal use.
Source Gets the source of the current report designer document. This is a dependency property.
Tag Gets or sets the object that contains data related to the current report document. This is a dependency property.
Title Gets the title of the current report designer document. This is a dependency property.
ViewKind Gets or sets a value that specifies the view mode of a report designer document. This is a dependency property.

Methods

Name Description
Activate() Activates the dock panel that contains the current document.
Close(Boolean) Closes the current designer document.
Load() Invokes the System.Windows.Forms.OpenFileDialog, which allows end-users to locate a report and open it in the current designer document.
Load(XtraReport) Loads the specified report instance and opens it in the current designer document.
Load(Byte[]) Restores a report from the specified bytes and loads it to the current designer document.
Load(Stream) Loads a report from the specified stream and opens it in the current designer document.
Load(String) Loads a report from the specified REPX file and opens it in the current designer document.
LoadFrom(Object) For internal use. Loads a report from the specified source and opens it in the current designer document.
MakeChanges(Action<IXRChangeService>) Registers the specified changes made to an XRControl or ReportDesignerDocument as a single entry in the undo-redo stack.
New(XtraReport) Creates a new report based on the specified template and loads it to the current document.
New(Func<XtraReport>) Creates a new report based on the specified template and loads it to the current document.
RunWizard() Invokes the Report Wizard.
Save() Saves a report displayed in the current designer document to a file.
Save(Action<XtraReport>) Saves a report displayed by the current designer document to the specified report storage.
Save(Action<Byte[]>) Saves a report displayed by the current designer document to the specified binary storage.
Save(Stream) Saves a report displayed by the current designer document to the specified stream.
Save(String) Saves a report displayed in the current document to the specified file.
SaveAs() Saves a report displayed in the current designer document to a file. The folder to save the file is specified by an end-user in the Save As window.
SaveTo(Object) For internal use. Saves a report displayed in the current designer document to the specified storage.

Events

Name Description
CanSaveChanged Occurs when the value of the ReportDesignerDocument.CanSave property is changed.
Closed Occurs after a report document has been closed.
Closing Occurs when a report document is about to be closed.
Loaded Occurs when a report has been loaded to the designer document.
LoadFailed Occurs when the attempt to load a report to the designer document failed.
ReportCloned Occurs when a report displayed in the current designer document has been cloned.
Saved Occurs when a report displayed in the current designer document has been saved.
SaveFailed Occurs when the attempt to save a report displayed in the current designer document fails.
SourceChanged Occurs when the value of the ReportDesignerDocument.Source property is changed.
SubreportLoadFailed Occurs when the attempt to load a subreport to the current designer document failed.
TitleChanged Occurs after the report designer document’s title has been changed.
See Also