Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IContentContainerProperties.DestroyOnRemovingChildren Property

Gets or sets whether Content Containers within this View should be automatically destroyed after all their child Documents have been removed.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

bool DestroyOnRemovingChildren { get; set; }

#Property Value

Type Description
Boolean

true if Content Containers within this View should be automatically destroyed after all their child Documents have been removed; otherwise, false.

#Remarks

To override this global setting for individual containers, use the IContentContainerDefaultProperties.DestroyOnRemovingChildren property instead.

See Also