Back to Devexpress

BarManagerOptionsLayout.AllowAddNewItems Property

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

latest1.9 KB
Original Source

BarManagerOptionsLayout.AllowAddNewItems Property

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

Namespace : DevExpress.XtraBars.Utils

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
public bool AllowAddNewItems { get; set; }
vb
<DefaultValue(True)>
Public Property AllowAddNewItems As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowAddNewItems
BarManager

.OptionsLayout .AllowAddNewItems

|

See Also

AllowRemoveOldItems

LayoutVersion

BarManagerOptionsLayout Class

BarManagerOptionsLayout Members

DevExpress.XtraBars.Utils Namespace