DependencyObjectExtensionsElements Method Document Toolkit Help
Retrieves the visual elements of a framework element.

Namespace: FirstFloor.Documents
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: (

public static IEnumerable<DependencyObject> Elements(
	this DependencyObject parent


Type: System.WindowsDependencyObject
The parent framework element.

Return Value

Type: IEnumerableDependencyObject
The visual children of the framework element.

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