Skip to main content

Register Method

Registers a RoutedEvent on a type.

Definition

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

public void Register(
Type type,
RoutedEvent event
)

Parameters

  Type
The type.
  RoutedEvent
The event.

Remarks

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

See Also

Reference

RoutedEventRegistry Class
Avalonia.Interactivity Namespace