Class AuiManager
The central class of the advanced docking and floating toolbars and panes framework.
public class AuiManager : BaseComponent, IBaseObject, IDisposable
- Inheritance
-
AuiManager
- Implements
Remarks
Example of how a AuiManager can setup an application look:
Constructors
- AuiManager()
Creates AuiManager instance.
Properties
- ArtProvider
Gets or sets the associated art provider.
- ManagedControl
Gets container in which toolbars and sidebars will be created.
Methods
- AddPane(Control, GenericDirection, string)
Tells the frame manager to start managing a child control.
- AddPane(Control, IAuiPaneInfo)
Tells the frame manager to start managing a child control.
- AddPane(Control, IAuiPaneInfo, PointD)
Tells the frame manager to start managing a child control.
- AlwaysUsesLiveResize()
Returns true if live resize is always used on the current platform.
- CanDockPanel(IAuiPaneInfo)
Check if a key modifier is pressed (actually Control or Alt) while dragging the frame to not dock the window.
- ClosePane(IAuiPaneInfo)
Destroys or hides the given pane depending on its flags.
- CreatePaneInfo()
Creates new pane for use with AuiManager.
- DetachPane(Control)
Tells the manager to stop managing the pane specified by control.
- ~AuiManager()
Called when AuiManager instance is destroyed.
- GetDockSizeConstraint()
Returns the current dock constraint values.
- GetFlags()
Returns the current AuiManagerOption flags.
- GetPane(Control)
Used to lookup a pane information object either by window or by pane name, which acts as a unique id for a window pane.
- GetPane(string)
Used to lookup a pane information object by pane name, which acts as a unique id for a window pane.
- HasLiveResize()
Returns true if windows are resized live.
- InsertPane(Control, IAuiPaneInfo, AuiPaneInsertLevel)
Used to insert either a previously unmanaged pane window into the frame manager, or to insert a currently managed pane somewhere else.
- LoadPaneInfo(string, IAuiPaneInfo)
Similar to LoadPerspective(string, bool), with the exception that it only loads information about a single pane.
- LoadPerspective(string, bool)
Loads a saved perspective. A perspective is the layout state of an AuiManager managed window.
- MaximizePane(IAuiPaneInfo)
Maximize the given pane.
- PixelFromDip(double)
Calls PixelFromDip(double) of the ManagedControl.
- RestoreMaximizedPane()
Restore the previously maximized pane.
- RestorePane(IAuiPaneInfo)
Restore the last state of the given pane.
- SavePaneInfo(IAuiPaneInfo)
Saves information about a single pane, similar to SavePerspective().
- SavePerspective()
Saves the entire user interface layout into an encoded string, which can then be stored by the application.
- SetDefaultSplitterSashProps()
Sets splitter sash size using MinSplitterSashSize and sash color to ButtonFace.
- SetDockSizeConstraint(double, double)
Adjusts limits of any new dock size.
- SetFlags(AuiManagerOption)
This method is used to specify option flags.
- SetManagedWindow(LayoutPanel)
Called to specify the frame or window which is to be managed by AuiManager. Frame management is not restricted to just frames. Child windows or custom controls are also allowed.
- UnInit()
Dissociate the managed window from the manager.
- Update()
Called after any number of changes are made to any of the managed panes.