RoutedEventRegistry.

Register(Type, RoutedEvent) Method

Summary

Registers a RoutedEvent on a type.
Namespace
Avalonia.Interactivity
Containing Type
RoutedEventRegistry

Syntax

public void Register(Type type, RoutedEvent event)

Remarks

You won't usually want to call this method directly, instead use the Register<TOwner, TEventArgs>(string, RoutingStrategies) method.

Parameters

Name Type Description
type Type The type.
event RoutedEvent The event.

Return Value

Type Description
void