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

IDocumentGroupDefaultProperties.DestroyOnRemovingChildren Property

Gets or sets the value that determines if the current document group will be destroyed after removing all of its children.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

DefaultBoolean DestroyOnRemovingChildren { get; set; }

#Property Value

Type Description
DefaultBoolean

A DefaultBoolean value that determines if the current document group will be destroyed after removing all of its children.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

#Remarks

Use a View’s IDocumentGroupProperties.DestroyOnRemovingChildren property to specify the value that determines if document groups will be destroyed after removing all of their children. This setting is applied to all document groups by default. The DestroyOnRemovingChildren property allows you to override the IDocumentGroupProperties.DestroyOnRemovingChildren setting for an individual document group. To override the default setting, set the DestroyOnRemovingChildren property to True or False (not Default).

See Also