Skip to main content

ReportDesignerDocument.Close(Boolean) Method

Closes the current designer document.

Namespace: DevExpress.Xpf.Reports.UserDesigner

Assembly: DevExpress.Xpf.ReportDesigner.v24.1.dll

NuGet Package: DevExpress.Wpf.Reporting

Declaration

public bool Close(
    bool force = false
)

Optional Parameters

Name Type Default Description
force Boolean False

true, to disable the confirmation logic; otherwise, false.

Returns

Type Description
Boolean

true, if the document has been successfully closed; otherwise, false.

Remarks

Use the ReportDesignerDocument.Closing event to perform different actions before the document is closed (e.g., cancel closing). You can also handle the ReportDesignerDocument.Closed event to respond to closing the document.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Close(Boolean) 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.

See Also