New to Telerik UI for WinForms? Download free 30-day trial

Customize Layout Mode

This article describes how the arranged in the control layout can be changed at run time.

Customize Dialog

With RadLayoutControl the predefined form layout can be edited at runtime. This can be achieved by opening the Customize dialog. It can be opened from the default context menu.

Figure 1: Customize Dialog

WinForms RadLayoutControl Customize Dialog

Once the dialog is opened you will be able to rearrange the controls with drag and drop operations. Additional items can be added from the Items tab as well.

Figure 2: Layout Arrangement

WinForms RadLayoutControl Layout Arrangement

The current layout structure is shown in the Structure tab. It allows you to easily select and even rearrange the controls by dragging from this tab to the form.

Figure 3: Structure Tab

WinForms RadLayoutControl Structure Tab

The customize dialog allows you to save/load the layout. This can be achieved by using the corresponding buttons.

The DragOverlay

The DragOverlay is a separate control which is shown when the customize dialog is opened. It contains snapshot of the form’s layout and is used for items arranging. There is a DragOvelay property which is allowing you to access this control. It allows you to access the drag and drop service as well.

See Also

In this article