Skip to main content

LayoutItemContainer.AllowCustomizeChildren Property

Gets or sets whether the layout of the current container can be customized using drag and drop.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(true)]
[DXCategory("Behavior")]
public virtual bool AllowCustomizeChildren { get; set; }

Property Value

Type Default Description
Boolean true

true if the layout of the current container can be customized using drag and drop; otherwise, false.

Remarks

If this property is set to false the layout of the current container cannot be modified. In this case a container’s children cannot be dragged to a different position and other items cannot be dragged to the container.

This property is in effect at design time and runtime in Customization mode. To enable Customization mode call the LayoutControl.ShowCustomizationForm method.

If the AllowCustomizeChildren property is set to true for a layout group and the group’s item is clicked in Customization mode the clicked item is selected. If this property is set to false the group will be selected instead, thus preventing the item from being selected and moved to a new position.

See Also