[]
Returns all children visual objects of the specified type within a specified parent.
public static void GetChildrenOfType(DependencyObject reference, Type type, ref IList<DependencyObject> list)
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. |