RestoreLayoutOptions.AddNewPanels Attached Property
Gets or sets whether the Dock Layout Manager should automatically add layout panels that are present in the current layout, but absent in its restored version, to its ClosedPanels collection. This is a dependency property.
Namespace: DevExpress.Xpf.Docking
Assembly: DevExpress.Xpf.Docking.v24.1.dll
NuGet Package: DevExpress.Wpf.Docking
Declaration
Returns
Type | Description |
---|---|
Boolean | true, if the target DockLayoutManager is allowed to add new layout panels; otherwise, false. |
Remarks
When AddNewPanels is set to true (this value is used by default), DockLayoutManager moves panels that are present in the current layout, but asbent in its restored version, to the ClosedPanels collection. You can traverse through these panels and restore them manually (see: Manage Dock Panels in Code). When this property is set to false, DockLayoutManager completely deletes these panels during the restore operation.