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