Back to Devexpress

DockLayoutManager.DestroyLastDocumentGroup Property

wpf-devexpress-dot-xpf-dot-docking-dot-docklayoutmanager-2d0cff62.md

latest1.9 KB
Original Source

DockLayoutManager.DestroyLastDocumentGroup Property

OBSOLETE

This Property is obsolete now.

Gets or sets if the last group existent within the DockLayoutManager should be destroyed on closing its children.

Namespace : DevExpress.Xpf.Docking

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

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
[Browsable(false)]
[Obsolete]
public bool DestroyLastDocumentGroup { get; set; }
vb
<Browsable(False)>
<Obsolete>
Public Property DestroyLastDocumentGroup As Boolean

Property Value

TypeDescription
Boolean

true if the last group existent within the DockLayoutManager should be destroyed on closing its children; otherwise, false. The default is false.

|

Remarks

Depending on the LayoutGroup.DestroyOnClosingChildren property, a group can be destroyed if all of its children are closed by a user. The DestroyLastDocumentGroup prevents a group from being destroyed if this group is the only one left within the DockLayoutManager.

See Also

DestroyOnClosingChildren

DockLayoutManager Class

DockLayoutManager Members

DevExpress.Xpf.Docking Namespace