VisualTreeEnumerationDescendents(DependencyObject, Int32) Method

Definition

Namespace: MbcsCentral
Assembly: MbcsCentral (in MbcsCentral.exe) Version: 2.0.1.15 (2.0.1.15)
C#
public static IEnumerable<DependencyObject> Descendents(
	this DependencyObject root,
	int depth
)

Parameters

root  DependencyObject
 
depth  Int32
 

Return Value

IEnumerableDependencyObject

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