Returns the collection of routed events available on specified type.

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 Type type,
	bool deep
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function RoutedEvents ( _
	type As Type, _
	deep As Boolean _
) As IEnumerable(Of RoutedEventInfo)
Visual C++
public:
[ExtensionAttribute]
static IEnumerable<RoutedEventInfo^>^ RoutedEvents(
	Type^ type, 
	bool deep
)

Parameters

type
Type: System..::..Type
The type.
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 Type. 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