Gets or sets whether RichEditControl should be disposed of when a window is closed.
NuGet Package: DevExpress.Wpf.RichEdit
false, to prevent RichEditControl from being disposed of when a Window is closed; otherwise, true. Default is true.
The RichEditControl is disposed of when a window is closed. If you have a reason to retain a RichEditControl instance and re-use it after a window is closed, set the HandleWindowClose to false, obtain the DockLayoutManager in the RichEditControl’s template and set its DockLayoutManager.DisposeOnWindowClosing property to false in the RichEditControl.Loaded event handler. Consider possible memory leaks in this situation. Refer to the following example for a code sample:
Call the RichEditControl.Dispose method to destroy the control manually.