Skip to main content

LayoutControl.AllowNewItemsDuringCustomization Property

Gets or sets whether an end-user can add new items (e.g. groups) in Customization mode.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v14.2.dll

#Declaration

public bool AllowNewItemsDuringCustomization { get; set; }

#Property Value

Type Description
Boolean

true if an end-user can add new items (e.g. groups) in Customization mode; otherwise, false.

#Remarks

If the AllowNewItemsDuringCustomization property is set to true, an end-user can add new items (e.g. groups) in Customization mode. To enable this feature, the LayoutControl.AllowAvailableItemsDuringCustomization property must also be set to true.

You can customize properties of newly created items by handling the LayoutControl.InitNewElement event.

See Customization mode to learn about runtime customization.

See Also