Skip to main content

Customization Mode

The LayoutControl (DataLayoutControl) supports runtime layout customization. In this mode, end-users can modify the layout of controls within the LayoutControl according to their requirements:

  • Move controls to new positions via drag-and-drop

    CD_Customization_DragAndDrop

  • Resize controls

    CD_Customization_Resize

  • Change the alignment of controls within parents

    CD_Customization_ChangeAlignment

  • Select a control’s parent and then modify its layout settings.

    CD_Customization_SelectParent

Customization mode is invoked by setting the LayoutControl.IsCustomization property to true. Setting this property to false accepts changes made to the layout and disables further customization.

To prevent changes within a particular group, set its LayoutGroup.IsLocked property to true.

Save and Restore the Layout

Customizations made by end-users can be saved to and then restored from a data store. The Save and Restore Item Layout document provides more information on this topic.