This class helps traversing the logical tree of the Docking control.
Definition
Namespace:Telerik.Windows.Controls.Docking
Assembly:Telerik.Windows.Controls.Docking.dll
Syntax:
public static class DockingLogicalTreeHelper
Inheritance: objectDockingLogicalTreeHelper
Methods
Retrieves the parent docking element of a specified split item within the docking layout.
public static RadDocking GetParentDocking(this ISplitItem splitContainer)
The split container whose parent docking element is to be retrieved.
Returns:The parent docking element of the provided split container, or null if no parent exists.
Retrieves the parent docking element of the specified RadPane.
public static RadDocking GetParentDocking(this RadPane pane)
The RadPane for which to get the parent docking element.
Returns:The parent docking element of the specified RadPane, or null if no parent exists.
Gets the parent Docking control of the ToolWindow.
public static RadDocking GetParentDocking(this ToolWindow window)
Retrieves the parent pane of the specified UI element in the logical tree of the docking layout.
public static RadPane GetParentPane(this UIElement element)
The UIElement for which to find the parent pane.
Returns:The parent pane of the specified UI element, or null if the element does not belong to a pane.
Retrieves the parent split container of a specified split item in the docking layout.
public static RadSplitContainer GetParentSplitContainer(this ISplitItem splitItem)
The split item for which to find the parent split container.
Returns:The parent split container of the specified split item, or null if none exists.
Retrieves the parent split container of the specified RadPane from the logical tree.
public static RadSplitContainer GetParentSplitContainer(this RadPane radPane)
The RadPane for which to find the parent split container.
Returns:The parent SplitContainer of the specified RadPane, or null if not found.
Retrieves the parent tool window of the specified split item in the docking layout.
public static ToolWindow GetParentToolWindow(this ISplitItem splitContainer)
The split container for which to find the parent tool window.
Returns:The parent tool window associated with the specified split container, or null if none exists.
Retrieves the parent tool window for the specified RadPane.
public static ToolWindow GetParentToolWindow(this RadPane pane)
The RadPane for which to find the parent tool window.
Returns:The parent ToolWindow of the specified RadPane, or null if no parent tool window exists.
Resolves the RadSplitContainer, which direct parent is not a SplitContainer, containing the target element. Commonly these are the split containers, hosted in ToolWindow or directly in the RadDocking control.
[CLSCompliant(false)]
public static RadSplitContainer GetRootLevelSplitContainer(this ISplitItem splitItem)
The RadPaneGroup or RadSplitContainer which root-level container to search for.
Returns:A RadSplitContainer which direct parent is not of type RadSplitContainer.
Resolves the RadSplitContainer, which direct parent is not a SplitContainer, containing the target element. Commonly these are the split containers, hosted in ToolWindow or directly in the RadDocking control.
[CLSCompliant(false)]
public static RadSplitContainer GetRootLevelSplitContainer(this RadPane pane)
The RadPane which root-level container to search for.
Returns:A RadSplitContainer which direct parent is not of type RadSplitContainer.