Back to Devexpress

BarManagerOptionsLayout.AllowRemoveOldItems Property

windowsforms-devexpress-dot-xtrabars-dot-utils-dot-barmanageroptionslayout-ce571558.md

latest1.9 KB
Original Source

BarManagerOptionsLayout.AllowRemoveOldItems Property

Gets or sets whether items that exist in the layout being loaded, but not in the current layout, should be added to the current layout.

Namespace : DevExpress.XtraBars.Utils

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
public bool AllowRemoveOldItems { get; set; }
vb
<DefaultValue(False)>
Public Property AllowRemoveOldItems As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true , if items that exist in the layout being loaded, but not in the current layout, should be discarded; false , if these items should be added to the current layout.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowRemoveOldItems
BarManager

.OptionsLayout .AllowRemoveOldItems

|

See Also

AllowAddNewItems

LayoutVersion

BarManagerOptionsLayout Class

BarManagerOptionsLayout Members

DevExpress.XtraBars.Utils Namespace