NetXP 3.0 Reference

DockingManager Members

DockingManager overview

Public Instance Constructors

DockingManager Constructor Creates a docking manager with a container and renderer.

Public Instance Properties

AutoResize When set to True, a resizing of the control will cause the docking windows to be resized smaller if they would start overlapping. Note that the windows will not be sized bigger again when the control is increased in size.
Container (inherited from Component) Gets the IContainer that contains the Component.
DockContainer The container.
DockObjects A collection of objects associated with this dock manager.
DockRegionMinMax If more than one Window is docked in the same column/row, should they have a maximize capability?
InnerControl The inner-most control. The InnerControl property needs to be set to the last control in the Forms.Control collection that represents the group of controls that the manager must not dock after.
InnerFill When set to True, the innermost docking window will assume the Fill docking style so that you can create applications whose client area consists only of docking windows.
InnerMinimum Defines the minimum size of the inner control, if resizing the application would cause the inner control to become smaller than this then the docking windows are resized smaller instead.
Locked Is this docking manager locked?
OuterControl The outer-most control. The OuterControl property needs to be set to the first control in the Forms.Control collection that represents the group of controls that the manager must not dock between.
Renderer The renderer used to draw the docked objects.
Site (inherited from Component) Gets or sets the ISite of the Component.
SizeBarWidth Defines the width/height of resize bars used between docking windows. A value of -1 will cause the appropriate default value for the visual style to be used instead.

Public Instance Methods

AddDockObjectToDockRegion If you already have a reference to a DockRegion object then this will create a new Window to host the provided DockObject and then add the Window to the given relative position inside the DockRegion.
AddDockObjectToWindowObjects If you already have a reference to a WindowObjects object then this method will add the provided DockObject into that object.
AddDockObjectWithState Will create an appropriate Window for hosting the provided DockObject and place inside a new DockRegion which is placed according to the State given.
BringAutoHideIntoView If the given object instance is in the AutoHide mode then it will be selected and slide out into view.
CreateDockRegionForDockObject Creates an appropriate DockRegion object and adds it to the managed control.
CreateObjRef (inherited from MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
CreateWindowForDockObjectOverloaded. Used to create an appropriately configured Window object for the given DockObject object. Currently this ensures the caption bar matches the requested style specified in the constructor.
Dispose (inherited from Component) Releases all resources used by the Component.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object)Gets the Type of the current instance.
HideAllDockObjects Hides all objects.
HideDockObjectOverloaded. If the provided object is visible then it will become hidden.
InitializeControl Initializes the control.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
InnerResizeRectangle Internal.
LoadConfigFromArray Loads layout information from given array of bytes.
LoadConfigFromFile Loads layout information from given file.
LoadConfigFromStream Loads layout information from given stream object.
OnDockObjectHiding Internal.
OuterControlIndex Internal.
RemoveShowingAutoHideWindows If any of the AutoHide windows is currently being shown, this will remove it from display immediately.
ReorderDockRegionToInnerMost Repositions the given reference within the list of Form controls to the innermost valid point.
ReorderDockRegionToOuterMost Repositions the given reference within the list of Form controls to the outermost valid point.
SaveConfigToArrayOverloaded. Saves layout information into an array of bytes using Encoding.Unicode.
SaveConfigToFileOverloaded. Saves layout information into a named file using Encoding.Unicode.
SaveConfigToStream Saves layout information into a stream object using specified encoding.
ShowAllDockObjects Show all objects.
ShowDockObject If the provided object is hidden then it will be restored to become visible.
ToggleDockObjectAutoHide Toggles the auto-hide state of an object.
ToString (inherited from Component) 
UpdateInnerFill Internal.
UpdateNameValue Internal.
ValuesFromState Internal.

Public Instance Events

ContextMenu Context menu about to be shown.
Disposed (inherited from Component)Adds an event handler to listen to the Disposed event on the component.
DockObjectHidden DockObject hidden.
DockObjectHiding DockObject hiding.
DockObjectShown DockObject shown.
LoadCustomConfig Custom configuration about to be loaded.
SaveCustomConfig Custom configuration about to be saved.
TabControlCreated A tab control was created.

See Also

DockingManager Class | NETXP.Controls.Docking Namespace