Design Time Interaction > Reusable Layouts > Loading a saved layout |
To load a grid layout from a file at design time, do the following:
In the General property page or Visual Basic Properties window, set the LayoutFileName property to the name of an existing layout file.
In the General property page or Visual Basic Properties window, set the LayoutName property to the string that identifies the layout to be loaded.
From the visual editing menu, choose the Load Layout command. This is analogous to calling the LoadLayout method, which uses the current values of the LayoutName and LayoutFileName properties at run time.