RadControls for WinForms

The DockHelper type exposes the following members.

Methods

  NameDescription
Public methodStatic memberCenterRect
Retrieves a Rectangle structure, that is aligned within the specified bounds, and is with the desired size.
Public methodStatic memberCleanupContainer
Performs a clean-up logic upon the specified RadSplitContainer instance, associated with the specified RadDock instance.
Public methodStatic memberCollapseOrDisposeStrips
Asks all DockTabStrip instances to check whether they need to be collapsed or disposed. Used in a clean-up pass of RadDock for a control tree defragmentation.
Public methodStatic memberEnsureSizeBounds(Size, Size, Size)
Applies Minimum and Maximum constraints to the specified Size structure.
Public methodStatic memberEnsureSizeBounds(SizeF, SizeF, SizeF)
Applies Minimum and Maximum constraints to the specified SizeF structure.
Public methodStatic memberEnsureSizeMaxBounds
Applies Maximum constraint to the specified Size structure.
Public methodStatic memberEnsureSizeMinBounds
Applies Minimum constraint to the specified Size structure.
Public methodStatic memberFindCommonAncestor
Finds the first RadSplitContainer instance, which contains both specified panels.
Public methodStatic memberGetAllowedDockState
Retrieves an AllowedDockState value from the specified DockState.
Public methodStatic memberGetAutoHidePosition
Retrieves an AutoHidePosition value from the specified DockPosition.
Public methodStatic memberGetDirectChildContainingPanel
Traverses the tree of split containers and finds the panel, which is direct child of the specified container and contains the specified split panel as a descendant.
Public methodStatic memberGetDockPosition
Retrieves a DockPosition value from the specified AllowedDockPosition.
Public methodStatic memberGetDockTabStrips<(Of <<'(T>)>>)
Collects all the DockTabStrip instances, residing on the specified parent, and associated with the provided RadDock instance.
Public methodStatic memberGetDockWindows
Collects all the DockWindow instances, residing on the specified parent, and associated with the provided RadDock instance.
Public methodStatic memberGetSplitContainers
Collects all the RadSplitContainer instances, residing on the specified parent, and associated with the provided RadDock instance.
Public methodStatic memberMergeContainers
Defragments the tree of RadSplitContainer instances. Used by a RadDock control to clean-up unnecessary containers.
Public methodStatic memberShouldBeginDrag
Determines whether a Drag operation should be started.

See Also