Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

How to Automatically Create Layout Items for Dataset Items at Design Time

The following example demonstrates how to automatically create layout items for the corresponding data items, at design time.

It is assumed that the layout control is on the form, and the data source is prepared.

Follow the steps below:

  • Right-click the layout control to open the context menu.

  • In the context menu, select the Create Items From menu item.

  • In the displayed submenu, select a data source for which you want to create layout items.

Once selected, the corresponding layout items are created in the layout control and populated with data.

If you intend to have layout items in a linear structure, the layout control is ready to run. To organize items into the containment hierarchy, use the Customization Form for this purpose.

See Also