Save and Restore Layout Pages
The Layout section in the Bar Manager Designer allows you to save and load bar layouts at design time.
- Save Layout
- Click Save Layout… to open a dialog that saves the Bar Manager layout. After saving, the designer displays a message box with the file path. The saved layout can be loaded into other Bar Managers.
- Restore Layout
- Click Restore Layout… to open a dialog that loads a previously saved layout. The designer applies the layout to the current Bar Manager immediately.
.NET Designer
Saves the layout to an XML file.
Tip
Use the RestoreLayoutFromXml(String) method to load the layout at runtime.
.NET Framework Designer
Saves the layout in binary format. Use this layout only at design time.
Note
Binary files are not compatible with XML layouts saved by BaseView.SaveLayoutToStream and BaseView.SaveLayoutToXml methods. You cannot restore binary layouts using BarManager.RestoreFromStream or BarManager.RestoreFromXml.
See Also