DockHelper
A helper class that exposes common methods, used across a docking framework.
Definition
Namespace:Telerik.WinControls.UI.Docking
Assembly:Telerik.WinControls.RadDock.dll
Syntax:
public static class DockHelper
Inheritance: objectDockHelper
Fields
Methods
Retrieves a Rectangle structure, that is aligned within the specified bounds, and is with the desired size.
Performs a clean-up logic upon the specified RadSplitContainer instance, associated with the specified RadDock instance.
public static void CleanupContainer(RadSplitContainer container, RadDock dockManager)
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 static void CollapseOrDisposeStrips(RadSplitContainer container, RadDock dockManager)
Applies Minimum and Maximum constraints to the specified Size structure.
Applies Minimum and Maximum constraints to the specified SizeF structure.
Finds the first RadSplitContainer instance, which contains both specified panels.
public static RadSplitContainer FindCommonAncestor(SplitPanel child1, SplitPanel child2)
Retrieves an AllowedDockState value from the specified DockState.
public static AllowedDockState GetAllowedDockState(DockState state)
Retrieves an AutoHidePosition value from the specified DockPosition.
public static AutoHidePosition GetAutoHidePosition(DockPosition position)
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 static SplitPanel GetDirectChildContainingPanel(RadSplitContainer container, SplitPanel descendant)
Retrieves a DockPosition value from the specified AllowedDockPosition.
public static DockPosition GetDockPosition(AllowedDockPosition position)
Collects all the DockTabStrip instances, residing on the specified parent, and associated with the provided RadDock instance.
Collects all the DockWindow instances, residing on the specified parent, and associated with the provided RadDock instance.
public static List<DockWindow> GetDockWindows(Control parent, bool recursive, RadDock dockManager)
List<DockWindow>
Collects all the RadSplitContainer instances, residing on the specified parent, and associated with the provided RadDock instance.
public static List<RadSplitContainer> GetSplitContainers(Control parent, bool recursive, RadDock dockManager)
List<RadSplitContainer>
Defragments the tree of RadSplitContainer instances. Used by a RadDock control to clean-up unnecessary containers.
public static void MergeContainers(RadSplitContainer parentContainer)
public static AllowedDockState ToAllowedDockState(this DockState dockstate)