ComponentOne Basic Library for UWP
C1.UWP Assembly / C1.Xaml Namespace / VTreeHelper Class / GetChildrenOfType Method
The parent visual, referenced as a Windows.UI.Xaml.DependencyObject.
The System.Type of the children element to search for.
The System.Collections.Generic.IList`1 object to fill with found objects.

In This Topic
    GetChildrenOfType Method
    In This Topic
    Returns all children visual objects of the specified type within a specified parent.
    Syntax
    'Declaration
     
    Public Shared Sub GetChildrenOfType( _
       ByVal reference As Windows.UI.Xaml.DependencyObject, _
       ByVal type As System.Type, _
       ByRef list As System.Collections.Generic.IList(Of DependencyObject) _
    ) 
    public static void GetChildrenOfType( 
       Windows.UI.Xaml.DependencyObject reference,
       System.Type type,
       ref System.Collections.Generic.IList<DependencyObject> list
    )

    Parameters

    reference
    The parent visual, referenced as a Windows.UI.Xaml.DependencyObject.
    type
    The System.Type of the children element to search for.
    list
    The System.Collections.Generic.IList`1 object to fill with found objects.
    See Also