Skip to main content

GetRegistered<TOwner> Method

Returns all routed events registered with the provided type. If the type is not found or does not provide any routed events, an empty list is returned.

Definition​

Namespace: Avalonia.Interactivity
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public IReadOnlyList<RoutedEvent> GetRegistered<TOwner>()

Type Parameters​

The type.

Return Value​

IReadOnlyList(RoutedEvent)
All routed events registered with the provided type.

See Also​

Reference​

RoutedEventRegistry Class
GetRegistered Overload
Avalonia.Interactivity Namespace