VisualTreeHelperExtensionsFindChildrenT Method (DependencyObject, String)

CVB.Net Documentation
Find all visual children with matching type and element name.

Namespace:  Stemmer.Cvb.Wpf
Assembly:  Stemmer.Cvb.Wpf (in Stemmer.Cvb.Wpf.dll) Version: 14.0.0.0
Syntax

public static IEnumerable<T> FindChildren<T>(
	DependencyObject parent,
	string childName
)
where T : DependencyObject

Parameters

parent
Type: System.WindowsDependencyObject
Node at which to start.
childName
Type: SystemString
Element name to look for.

Type Parameters

T
Type to look for.

Return Value

Type: IEnumerableT
Collection of matching visual tree child nodes.
See Also

Reference