[]
        
(Showing Draft Content)

C1.WPF.VTreeHelper.GetChildrenOfType

GetChildrenOfType Method

GetChildrenOfType(DependencyObject, Type, ref IList<DependencyObject>)

Returns all children visual objects of the specified type within a specified parent.

Declaration
public static void GetChildrenOfType(DependencyObject reference, Type type, ref IList<DependencyObject> list)
Parameters
Type Name Description
DependencyObject reference

The parent visual, referenced as a DependencyObject.

Type type

The Type of the children element to search for.

IList<DependencyObject> list

The IList<T> object to fill with found objects.