Back to Devexpress

DockLayoutManager.DisposeOnWindowClosing Property

wpf-devexpress-dot-xpf-dot-docking-dot-docklayoutmanager-af5aa9c6.md

latest1.7 KB
Original Source

DockLayoutManager.DisposeOnWindowClosing Property

Gets or sets if the DockLayoutManager object should be disposed on its parent window closing. This is a dependency property.

Namespace : DevExpress.Xpf.Docking

Assembly : DevExpress.Xpf.Docking.v25.2.dll

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public bool DisposeOnWindowClosing { get; set; }
vb
Public Property DisposeOnWindowClosing As Boolean

Property Value

TypeDescription
Boolean

true if the DockLayoutManager object should be disposed on its parent window closing; otherwise, false.

|

Remarks

The DisposeOnWindowClosing indicates whether an application should dispose of the current DockLayoutManager object, releasing all the resources allocated to it when its container window is closed, or keep a reference to this DockLayoutManager in order to restore it if a parent window is re-opened.

See Also

DockLayoutManager Class

DockLayoutManager Members

DevExpress.Xpf.Docking Namespace