Click or drag to resize
ChildrenOfTypeExtensionsChildrenOfTypeT Method
Gets all child elements recursively from the visual tree by given type.

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls (in Telerik.Windows.Controls.dll) Version: 2018.1.220.40 (2018.1.220.40)
public static IEnumerable<T> ChildrenOfType<T>(
	this DependencyObject element
where T : DependencyObject


Type: System.WindowsDependencyObject

Type Parameters


Return Value

Type: IEnumerableT

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DependencyObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also