ReportDesignerDocument.Close(Boolean) Method

Closes the current designer document.

Namespace: DevExpress.Xpf.Reports.UserDesigner

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

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