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.v20.1.dll

Declaration

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

Property Value

Type Default Description
Boolean

true

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:

Library Object Type Path to AllowAddNewItems
WinForms Controls BarManager
.OptionsLayout.AllowAddNewItems
ToolbarFormManager
.OptionsLayout.AllowAddNewItems
DocumentViewerBarManager
.OptionsLayout.AllowAddNewItems
PrintBarManager
.OptionsLayout.AllowAddNewItems
Reporting XRDesignBarManager
.OptionsLayout.AllowAddNewItems
See Also