Back to Devexpress

DockManager Members

windowsforms-devexpress-dot-xtrabars-dot-docking-dot-dockmanager-dot-underscore-members.md

latest27.4 KB
Original Source

DockManager Members

The component that allows you to create docked, floating and/or auto-hidden dock panels inside a form or user control. See Docking Library.

Constructors

NameDescription
DockManager()Initializes a new instance of the DockManager class.
DockManager(IContainer)Initializes a new instance of the DockManager class with the specified container control.
DockManager(ContainerControl)Initializes a new instance of the DockManager class with the specified container control.

Properties

NameDescription
ActivePanelGets or sets the active dock panel.
ActivePanelIDGets or sets the index of the active dock panel.
AllowGlyphSkinningGets or sets whether all DockPanels within the DockManager should paint their icons in the panel’s foreground colors.
AutoHiddenPanelCaptionShowModeGets or sets how panel captions are displayed within an auto-hide container when these panels are combined into an auto-hidden tab container.
AutoHiddenPanelShowModeGets or sets whether auto-hidden panels within the current DockManager are shown during mouse hover, or only during a mouse click.
AutoHideContainersProvides access to the auto hide containers and thus to the panels whose auto hide functionality is enabled.
AutoHideSpeedGets or sets the auto-hide animation speed for dock panels.
CanRaiseEvents protectedGets a value indicating whether the component can raise an event. Inherited from Component.
ContainerGets the IContainer that contains the Component. Inherited from Component.
ControllerGets or sets the bar and dock controller that provides the default appearance options for the dock panels belonging to the current dock manager.
CountGets the total number of panels that belong to the dock manager.
DesignMode protectedGets a value that indicates whether the Component is currently in design mode. Inherited from Component.
DockControllerGets an IDockController that performs docking operations on panels within the current DockManager.
DockingOptionsProvides access to the settings that affect the behavior of dock panels.
DockModeGets or sets the dock style.
DockModeVS2005FadeFramesCountGets or sets the number of frames in the fading animation effect that are applied when displaying dock visualizers (markers) in VS2005 dock style.
DockModeVS2005FadeSpeedGets or sets a value that specifies the speed of fade effects.
DocumentManagerGets a DocumentManager associated with this DockManager.
Events protectedGets the list of event handlers that are attached to this Component. Inherited from Component.
FormGets or sets the container control (form or user control) which displays the dock panels owned by the current dock manager.
HiddenPanelsProvides access to a collection of hidden dock panels.
ImagesGets or sets the image source whose images are used by dock panels.
IsDeserializingIndicates whether the docking layout is being loaded.
IsInitializedIndicates whether the dock manager has been initialized.
Item[Int32]Provides indexed access to the panels which belong to the dock manager.
Item[String]Provides indexed access to the panels which belong to the dock manager by their names.
LayoutVersionGets or sets the version of the layout of dock windows.
MenuManagerGets or sets an object that controls the look and feel of the DockManager‘s popup menus.
PanelsProvides access to all the dock panels owned by the dock manager.
RootPanelsProvides access to the collection of visible panels which are not owned by other panels.
SerializationInProgressThis member supports the internal infrastructure, and is not intended to be used directly from your code.
SerializationOptionsProvides options which control how a layout of dock panels is stored to/restored from a data store (a stream, xml file or system registry).
SiteGets or sets the ISite of the Component. Inherited from Component.
StyleGets or sets the style for all panels owned by this DockManager.
ToolTipControllerGets or sets the tooltip controller component that controls the appearance, position and content of the hints displayed by the dock panels.
TopZIndexControlsGets the string collection that stores the full names of the controls which have the top (high) indexes in the z-order and thus are positioned closest to the form’s edges.
ValidateDockPanelOnDeactivateGets or sets whether the Validate method is forcibly called on a dock panel when switching from this dock panel to another one.
ValidateFloatFormChildrenOnDeactivateGets or sets whether a float dock panel’s controls are validated when the panel is deactivated.
ValidateFormChildrenOnDeactivateGets or sets whether the ValidateChildren method is forcibly called on a DockManager parent Form when switching from one dock panel to another.
XtraSerializableScreenConfigurationThis member supports the internal infrastructure, and is not intended to be used directly from your code.

Methods

NameDescription
About() staticActivates the dock manager’s About dialog box.
AddPanel(DockingStyle, DockPanel)Docks the specified panel to the DockManager container using the specified style.
AddPanel(DockingStyle)Creates a new dock panel and docks it to the form (user control) using the specified dock style.
AddPanel(Point)Creates a new dock panel and floats it at the specified point.
AddPanel(Control, DockingStyle, String)Creates a new panel and docks it to the required position.
AddPanel(Control, Point, String)Creates a new floating panel with the target content.
BeginInit()Notifies the component that the initialization has started.
BeginUpdate()Locks the DockManager object by preventing visual updates of the object and its elements until the EndUpdate method is called.
Clear()Destroys all panels.
CreateObjRef(Type)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. Inherited from MarshalByRefObject.
CreateVs2005DockStyleVisualizers()Creates a helper object that manages dock visualizers for the VS2005 dock style.
Dispose()Releases all resources used by the Component. Inherited from Component.
EndInit()Notifies the control that the initialization has been completed.
EndUpdate()Unlocks the DockManager object after a call to the BeginUpdate method and causes an immediate visual update.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
ForceInitialize()Forces the dock manager to finish its initialization.
GetDockPanelAtPos(Point)Returns the panel located under the specified point.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetLifetimeService()Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetLogicalChildren()This member supports the internal infrastructure, and is not intended to be used directly from your code.
GetService(Type) protectedReturns an object that represents a service provided by the Component or by its Container. Inherited from Component.
GetType()Gets the Type of the current instance. Inherited from Object.
InitializeLifetimeService()Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
LockWindowUpdate()This member supports the internal infrastructure, and is not intended to be used directly from your code.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protectedCreates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
RemovePanel(DockPanel)Destroys the specified panel.
ReplaceOwnerForm()Call this method to change the DockManager parent form.
RestoreFromRegistry(String)Restores the layout stored at the specified system registry path to the dock panels.
RestoreFromStream(Stream)Restores the layout in the specified stream to the dock panels.
RestoreFromXml(String)Restores the layout of dock controls from the specified XML file.
RestoreLayoutFromJson(Stream)Loads layout settings of dock panels from a file in JSON format.
RestoreLayoutFromRegistry(String)Restores the layout of dock panels from the specified system registry path.
RestoreLayoutFromStream(Stream)Restores the layout of dock panels from the specified stream.
RestoreLayoutFromXml(String)Restores the layout of dock panels from the specified XML file.
SaveLayoutToJson(Stream)Saves the layout of dock panels to a file in JSON format.
SaveLayoutToRegistry(String)Saves the layout of dock panels to the specified system registry path.
SaveLayoutToStream(Stream)Saves the layout of dock panels to a stream.
SaveLayoutToXml(String)Saves the layout of dock panels to an XML file.
SaveToRegistry(String)Saves the layout of the dock panels to the registry.
SaveToStream(Stream)Saves the layout of dock panels to a stream.
SaveToXml(String)Saves the layout of dock panels to an XML file.
ToString()Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component.

Events

NameDescription
ActiveChildChangedFires after the panel’s active child has been changed.
ActivePanelChangedFires after the active dock panel has been changed.
BeforeLoadLayoutOccurs before a layout is restored from storage (a stream, xml file or the system registry).
ClosedPanelOccurs after a panel has been closed.
ClosingPanelOccurs when a panel is closing.
CollapsedOccurs when any auto-hide DockPanel within the current DockManager is completely hidden.
CollapsingOccurs when any auto-hide DockPanel within the current DockManager is about to hide.
CreateAutoHideContainerFires after an auto hide container has been created.
CreateResizeZoneAllows you to prevent dock panels from being resized using the mouse at specific borders and corners.
DestroyAutoHideContainerFires before an auto hide container has been destroyed.
DisposedOccurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
DockingFires repeatedly while a dock panel is being dragged.
EndDockingFires immediately after a docking operation on a dock panel has finished.
EndSizingFires after a resize operation on a dock panel has finished.
ExpandedOccurs when any auto-hide DockPanel within the current DockManager is completely shown.
ExpandingOccurs when any auto-hide DockPanel within the current DockManager is about to be displayed.
LayoutUpgradeOccurs after a layout whose version doesn’t match the current layout’s version has been loaded from storage (a stream, xml file or system registry).
LoadFires after the docking layout has been loaded.
PopupMenuShowingOccurs when a context menu is about to be displayed.
RegisterDockPanelOccurs when a new panel is registered within the dock manager.
RestoreLayoutErrorOccurs when a saved layout is invalid and cannot be restored. Allows you to fix restore layout exceptions.
ShowingDockGuidesOccurs when an end-user drags a DockPanel into another panel and allows you to hide specific dock hints and guides. If the DocumentManager component is also present on the form, handle its BaseView.ShowingDockGuides event to control which dock hints should be visible when a user drags a panel over this component.
SizingFires when the dock panel is being resized.
StartDockingFires when a docking operation starts.
StartSizingEnables specifying whether end-users can resize the dock panels.
TabbedChangedOccurs when a panel’s DockPanel.Tabbed property is changed.
TabsPositionChangedFires after a dock panel’s DockPanel.TabsPosition property has been changed.
TabsScrollChangedOccurs when a panel’s DockPanel.TabsScroll property is changed.
UnregisterDockPanelOccurs when a panel is removed from the dock manager.
VisibilityChangedFires after the visible state of any dock panel owned by the dock manager has been changed.

See Also

DockManager Class

DevExpress.XtraBars.Docking Namespace