Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.AvalonDock Assembly / Xceed.Wpf.AvalonDock.Layout Namespace / Extensions Class / GetRoot Method
The ILayoutElement whose root will be returned. If element is root, element itself is returned.


    GetRoot Method
    Returns the root of the specified ILayoutElement.
    Syntax
    'Declaration
     
    <ExtensionAttribute()>
    Public Shared Function GetRoot( _
       ByVal element As ILayoutElement _
    ) As ILayoutRoot
     
    'Usage
     
    Dim element As ILayoutElement
    Dim value As ILayoutRoot
     
    value = Extensions.GetRoot(element)

    Parameters

    element
    The ILayoutElement whose root will be returned. If element is root, element itself is returned.

    Return Value

    The root of the specified ILayoutElement.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also