Save and Load Layouts in C# for Dock Control
When users using the Dock WinForms control, they can use the provided methods to save and load layouts, which is used to keep the records of the size and arrangement of dock windows included in the Kettic WinForms dock control. The save and load layouts are able to saves all managed tool widnow and document window, regardless of state of a window that is hidden, floated, or saved.
C# code to Save a Layout
The C# code below illustrate the way of calling the method, Dock.SavetoXML(), to save a layout.
C# code to Load a Layout
The C# code below shows the way of calling the method, Dock.LoadfromXML(), to load a layout.
C# Tutorial to Save and Load Content
The Kettic Dock Control provides the support of saving and loading the layouts of dock windows, but the content of the dock windows. The following is a C# guide to show the process of save and load the content of the dock windows.
|
UI Controlsfor Windows Forms .NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI DesignWinForms UI Controls WinForms Buttons UI Control WinForms Calendar UI ControlWinForms Carousel UI ControlWinForms Chart UI ControlWinForms Clock UI ControlCommandBar UI ControlWinForms Dock UI ControlDock - Getting Started Architecture and Features Arrange WindowsFloating WindowsAuto-Hide WindowsContext MenuReDockObject Model Create a Dock WindowCreate WindowRemove WindowAdvanced LayoutTab & CaptionAllowed Dock StatesUser Control and FormsLoad and Save LayoutDock - LocalizationDesktop Alert UI ControlDropDown List UI ControlWinForms Editor UI ControlForms and Dialogs UI ControlWinForms GridView UI ControlWinForms ListView UI ControlWinForms Menu UI ControlWinForms ComboBox UI ControlWinForms PageView UI ControlPanels and Labels UI ControlWinForms Panorama UI ControlWinForms PDFViewer UI ControlWinForms Property Grid UI ControlWinForms Ribbon UI ControlWinForms PivotGrid UI ControlWinForms RichTextBox UI ControlWinForms Rotator UI ControlWinForms Scheduler UI ControlWinForms Shortcuts UI ControlWinForms SpellChecker UI ControlWinForms Track & Status UI ControlWinForms TreeView UI ControlWinForms Wizard UI ControlWinForms Test UI ControlWinForms Theme UI Control |