Design Time Interaction > Reusable Layouts > Saving the current layout |
To save a grid layout to a file at design time, do the following:
Configure the grid to your liking as you normally would.
In the General property page or Visual Basic Properties window, set the LayoutFileName property to the name of a layout file. If the file does not exist, you will be asked if you want to create it.
In the General property page or Visual Basic Properties window, set the LayoutName property to the string that you will use to identify the layout.
From the visual editing menu, choose the Save Layout command. This is analogous to calling the Add method of the Layouts collection, which uses the current value of the LayoutFileName property at run time.