Retrieves the child elements available in the logical tree of specified object.

Namespace: FirstFloor.SilverlightSpy.Interop
Assembly: FirstFloor.SilverlightSpy.Interop (in FirstFloor.SilverlightSpy.Interop.dll) Version: 4.0.0.0 (4.0.5.0)

Syntax

C#
public static IEnumerable<DependencyObject> LogicalElements(
	this DependencyObject o
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function LogicalElements ( _
	o As DependencyObject _
) As IEnumerable(Of DependencyObject)
Visual C++
public:
[ExtensionAttribute]
static IEnumerable<DependencyObject^>^ LogicalElements(
	DependencyObject^ o
)

Return Value

A collection that contains the logical child elements.

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