RoutedEventRegistry Class

Summary

Tracks registered RoutedEvents.
Namespace
Avalonia.Interactivity
Base Types
  • object
graph BT Type-->Base0["object"] Type["RoutedEventRegistry"] class Type type-node

Syntax

public class RoutedEventRegistry

Properties

Name Value Summary
Instance RoutedEventRegistry
Gets the RoutedEventRegistry instance.
static

Methods

Name Value Summary
GetAllRegistered() IEnumerable<RoutedEvent>
Returns all routed events, that are currently registered in the event registry.
GetRegistered(Type) IReadOnlyList<RoutedEvent>
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.
GetRegistered<TOwner>() IReadOnlyList<RoutedEvent>
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.
Register(Type, RoutedEvent) void
Registers a RoutedEvent on a type.