Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.AvalonDock Assembly / Xceed.Wpf.AvalonDock.Layout Namespace / Extensions Class / FindParent<T> Method
The type of the parent.
The ILayoutElement whose parent of type T will returned.


In This Topic
    FindParent<T> Method
    In This Topic
    Finds the parent of the specified type of the specified ILayoutElement.
    Syntax
    'Declaration
     
    <ExtensionAttribute()>
    Public Shared Function FindParent(Of T)( _
       ByVal element As ILayoutElement _
    ) As T
    'Usage
     
    Dim element As ILayoutElement
    Dim value As T
     
    value = Extensions.FindParent(Of T)(element)
    [Extension()]
    public static T FindParent<T>( 
       ILayoutElement element
    )

    Parameters

    element
    The ILayoutElement whose parent of type T will returned.

    Type Parameters

    T
    The type of the parent.

    Return Value

    The returned parent.
    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