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

ReportDesignerDocument.Close(Boolean) Method

Closes the current designer document.

Namespace: DevExpress.Xpf.Reports.UserDesigner

Assembly: DevExpress.Xpf.ReportDesigner.v20.2.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.

See Also