A newer version of this page is available. Switch to the current version.

IDocumentOwner.Close(IDocumentContent, Boolean) Method

Closes the specified document.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v20.2.dll


void Close(
    IDocumentContent documentContent,
    bool force = true


Name Type Description
documentContent IDocumentContent

An IDocument implementation to be closed.

Optional Parameters

Name Type Default Description
force Boolean


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

The following code snippets (auto-collected from DevExpress Examples) contain references to the Close(IDocumentContent, Boolean) method.


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