RoutedEventAddClassHandler Method

Definition

Namespace: Avalonia.Interactivity
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public IDisposable AddClassHandler(
	Type targetType,
	EventHandler<RoutedEventArgs> handler,
	RoutingStrategies routes = RoutingStrategies.Direct|RoutingStrategies.Bubble,
	bool handledEventsToo = false
)

Parameters

targetType  Type
 
handler  EventHandlerRoutedEventArgs
 
routes  RoutingStrategies  (Optional)
 
handledEventsToo  Boolean  (Optional)
 

Return Value

IDisposable

See Also