RoutedEventRegistryRegister Method

Registers a RoutedEvent on a type.

Definition

Namespace: Avalonia.Interactivity
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public void Register(
	Type type,
	RoutedEvent event
)

Parameters

type  Type
The type.
event  RoutedEvent
The event.

Remarks

You won't usually want to call this method directly, instead use the RegisterTOwner, TEventArgs(String, RoutingStrategies) method.

See Also