Back to Devexpress

How to Import Form Layout

vcl-152030-expresslayoutcontrol-design-time-features-form-layout-import.md

latest4.2 KB
Original Source

How to Import Form Layout

  • Dec 28, 2020
  • 2 minutes to read

The Layout Control allows you to import a form layout at design-time. To do this, click Import… within the layout control’s context menu to open the Import dialog.

Select the import source from the drop-down list and choose a form or a container control. You can adjust the following options to increase application rendering speed:

OptionDescription
Import standalone labels as label itemsConverts label controls (TcxCustomLabel, TCustomLabel, and TCustomStaticText descendants) that have no associated control to layout labels.
Import check boxes as check box itemsConverts check box controls (TCheckBox and TcxCheckBox) to layout check boxes.
Import radio buttons as radio button itemsConverts radio button controls (TRadioButton and TcxRadioButton) to layout radio buttons.
Import page controls as tabbed groupsConverts page controls (TcxPageControl, TPageControl, and their descendants) to tabbed groups.
Link labels to controls within the rangeAssociates each standalone label to a non-container control placed within the specified range to the right and below a label.

When you completed the configuration stage, click Import to proceed. The import operation does the following:

Note

API members of the label, check box and radio button controls are different from the corresponding layout items’ API. The missing API cannot be converted and is discarded.

See Also

How to Convert Embedded Controls to Layout Items

How to Create Layout Items and Groups