IDocumentOwner.Close(IDocumentContent, Boolean) Method
Closes the specified document.
Namespace: DevExpress.Mvvm
Assembly: DevExpress.Mvvm.v24.1.dll
NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation
Declaration
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. |
Related GitHub Examples
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