Telerik UI for Windows Phone by Progress

Returns a lazily evaluated iterator that allows linear iteration over a tree of DependencyObjects.

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Core (in Telerik.Windows.Core.dll) Version: 2013.1.422.2040 (2013.1.0422.2040)

Syntax

C#
public static IEnumerable<DependencyObject> EnumVisualDescendants(
	DependencyObject parent,
	Predicate<DependencyObject> condition = null,
	TreeTraversalMode mode = TreeTraversalMode.BreadthFirst
)
Visual Basic
Public Shared Function EnumVisualDescendants ( _
	parent As DependencyObject, _
	Optional condition As Predicate(Of DependencyObject) = Nothing, _
	Optional mode As TreeTraversalMode = TreeTraversalMode.BreadthFirst _
) As IEnumerable(Of DependencyObject)
Visual C++
public:
static IEnumerable<DependencyObject^>^ EnumVisualDescendants(
	DependencyObject^ parent, 
	Predicate<DependencyObject^>^ condition = nullptr, 
	TreeTraversalMode mode = TreeTraversalMode::BreadthFirst
)

Parameters

parent
Type: System.Windows..::..DependencyObject
The root element of the tree to iterate over.
condition (Optional)
Type: System..::..Predicate<(Of <(<'DependencyObject>)>)>
A predicate to filter what elements are returned.
mode (Optional)
Type: Telerik.Windows.Controls..::..TreeTraversalMode
The tree traversal mode of the iteration algorithm.

Return Value

Returns a lazily evaluated iterator that allows linear iteration over a tree of DependencyObjects.

See Also