Skip to main content

IDocument.DestroyOnClose Property

Specifies whether to release the memory reserved for the document after it is closed.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v24.1.dll

NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation

Declaration

bool DestroyOnClose { get; set; }

Property Value

Type Description
Boolean

true, to release the memory reserved for the document after it is closed; otherwise, false.

Remarks

If the DestroyOnClose property is set to true, the document cannot be shown after it is closed.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DestroyOnClose property.

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