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.
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.
See Default Runtime Customization and Quick Runtime Customization to learn more.