Back to Devexpress

IDocumentGroupDefaultProperties.DestroyOnRemovingChildren Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-dot-idocumentgroupdefaultproperties-5c2fb561.md

latest2.9 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
DefaultBoolean DestroyOnRemovingChildren { get; set; }
vb
Property DestroyOnRemovingChildren As DefaultBoolean

Property Value

TypeDescription
DefaultBoolean

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

|

Available values:

NameDescriptionReturn 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

ActualDestroyOnRemovingChildren

DestroyOnRemovingChildren

IDocumentGroupDefaultProperties Interface

IDocumentGroupDefaultProperties Members

DevExpress.XtraBars.Docking2010.Views.Tabbed Namespace