Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Collapse]Ribbon, Bars and Menu
   [Collapse]Bars
    [Expand]Tutorials
     MDI Merging
    [Collapse]Bar Manager Designer
      Toolbars Page
      Categories Page
      Paint Styles Page
      Repository Editor Page
      Saving And Restoring Layout Pages
      Invoke Bar Manager Designer
    [Expand]Runtime Customization and Layout Management
    [Expand]Appearance and Hotkeys
   [Expand]Ribbon
   [Expand]Popup Menus
    Radial Menu
   [Expand]Common Features
   [Expand]Examples
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Saving And Restoring Layout Pages

The Layouts section of the Bar Manager Designer only allows you to save and load the layout of bars at design time.

The layout saved via the designer can only be used at design time. It is stored in binary format, so it is incompatible with the XML-based layouts saved by the BaseView.SaveLayoutToStream and BaseView.SaveLayoutToXml methods, and therefore it cannot be restored using the BarManager.RestoreFromStream or BarManager.RestoreFromXml methods.

Save Layout - invokes the Save dialog, which allows you to save the Bar Manager layout to a binary data file. After the layout has been saved, a notification message box that displays the path to the saved layout file is displayed. Once saved, the layout can be loaded at design time into other BarManagers (via their designers).

Restore Layout - invokes the Open dialog, allowing you to load an existing Layout data file. After the layout has loaded, it is automatically applied to the BarManager.

Expanded See Also

How would you rate this topic?​​​​​​​