Skip to main content

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.v22.1.dll

NuGet Package: DevExpress.Wpf.Docking

Declaration

[Browsable(false)]
[Obsolete]
public bool DestroyLastDocumentGroup { get; set; }

Property Value

Type Description
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