EventManager.GetRoutedEventsForOwner Method (Type)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Finds all routed event identifiers for events that are registered with the provided owner type.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

public static RoutedEvent[] GetRoutedEventsForOwner(
	Type ownerType


Type: System.Type

The type to start the search with. Base classes are included in the search.

Return Value

Type: System.Windows.RoutedEvent[]

An array of matching routed event identifiers if any match is found; otherwise, null.

.NET Framework
Available since 3.0
Return to top