Sparkline for UWP | ComponentOne
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 IList 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 DependencyObject, _
       ByVal type As Type, _
       ByRef list As IList(Of DependencyObject) _
    ) 
    public static void GetChildrenOfType( 
       DependencyObject reference,
       Type type,
       ref 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 IList object to fill with found objects.
    See Also