Skip to main content
A newer version of this page is available. .

LayoutControl.AllowCustomization Property

Gets or sets whether customization mode can be activated by end-users at runtime.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v19.1.dll

Declaration

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

Property Value

Type Default Description
Boolean **true**

true, if end-users can activate customization mode at runtime; otherwise, false

Remarks

A LayoutControl supports two customization modes: default and quick. In default mode, customization commands are provided using context menus; while in quick mode, these commands are available in the touch-friendly Customization Form. You can select the appropriate mode by setting the LayoutControl.CustomizationMode property to Default or Quick.

Default customization mode can be activated at runtime by right-clicking on the LayoutControl’s empty region and selecting the Customize Layout command from the menu that is invoked.

CD_Runtime_ShowCustomizationFormMenu

To activate quick customization mode, an end-user has to press and hold a finger (on touch devices) or press and hold a right-click with a mouse within the LayoutControl’s bounds until an animated load indicator is filled.

LayoutControlActivateQuickMode

See Default Runtime Customization and Quick Runtime Customization to learn more.

See Also