ComponentOne Basic Library for UWP
C1.UWP Assembly / C1.Xaml Namespace / Extensions Class / FindParent<T> Method

In This Topic
    FindParent<T> Method
    In This Topic
    Finds the first parent of a given type for a particular FrameworkElement
    Syntax
    'Declaration
     
    Public Shared Function FindParent(Of T As Windows.UI.Xaml.FrameworkElement)( _
       ByVal elem As Windows.UI.Xaml.FrameworkElement _
    ) As T
    public static T FindParent<T>( 
       Windows.UI.Xaml.FrameworkElement elem
    )
    where T: Windows.UI.Xaml.FrameworkElement

    Parameters

    elem

    Type Parameters

    T

    Return Value

    The first object whose type is The first object whose type is
    See Also