Returns the collection of routed events available on 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<RoutedEventInfo> RoutedEvents(
	this DependencyObject o,
	bool deep
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function RoutedEvents ( _
	o As DependencyObject, _
	deep As Boolean _
) As IEnumerable(Of RoutedEventInfo)
Visual C++
public:
[ExtensionAttribute]
static IEnumerable<RoutedEventInfo^>^ RoutedEvents(
	DependencyObject^ o, 
	bool deep
)

Parameters

o
Type: System.Windows..::..DependencyObject
The object.
deep
Type: System..::..Boolean
if set to true also return the events defined on base types.

Return Value

A collection of routed event info instances.

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