Skip to main content

IDocumentOwner.Close(IDocumentContent, Boolean) Method

Closes the specified document.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v24.2.dll

Declaration

void Close(
    IDocumentContent documentContent,
    bool force = true
)

Parameters

Name Type Description
documentContent IDocumentContent

An IDocument implementation to be closed.

Optional Parameters

Name Type Default Description
force Boolean True

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.

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