RoutedEvent.

AddClassHandler(Type, EventHandler<RoutedEventArgs>, RoutingStrategies, bool) Method

Namespace
Avalonia.Interactivity
Containing Type
RoutedEvent

Syntax

public IDisposable AddClassHandler(Type targetType, EventHandler<RoutedEventArgs> handler, RoutingStrategies routes = Direct | Bubble, bool handledEventsToo = false)

Parameters

Name Type Description
targetType Type
handler EventHandler<RoutedEventArgs>
routes RoutingStrategies
handledEventsToo bool

Return Value

Type Description
IDisposable