BCGSoft.ControlBars Namespace : LayoutController Class |
Manages the layout and state of the objects from DockManager, CommandbarManager, MDITabsOption.
The method EnableMDITabs allows to place MDIChild form in the TabControl and to adjust theirs layout.
The AdjustLayout allows to place in order the size and location of docking panes and control bars on the form.
The methods SaveState and LoadState allows to save and load state of controls to/from a stream.
The methods RegisterComponent and UnRegisterComponent are used for definition of the parent form for MDITabsOption, CommandManager and DockManager on setting ParentForm.
LayoutController class has a set of event handlers for such events as ResizeForm, ControlAddedToForm, ControlRemovedToForm, FormLayout, FormDisposed.
Methods GetCommandBarManager, GetDockManager, GetMdiClient, GetMdiTabsOptions allows to get an access to managers of the specified form.
'Declaration Public Class LayoutController
'Usage Dim instance As LayoutController
public class LayoutController
public __gc class LayoutController
public ref class LayoutController
System.Object
BCGSoft.ControlBars.LayoutController
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2