Interactive.

RemoveHandler<TEventArgs>(RoutedEvent<TEventArgs>, EventHandler<TEventArgs>) Method

Summary

Removes a handler for the specified routed event.
Namespace
Avalonia.Interactivity
Containing Type
Interactive

Syntax

public void RemoveHandler<TEventArgs>(RoutedEvent<TEventArgs> routedEvent, EventHandler<TEventArgs> handler) 
    where TEventArgs : RoutedEventArgs

Type Parameters

Name Description
TEventArgs The type of the event's args.

Parameters

Name Type Description
routedEvent RoutedEvent<TEventArgs> The routed event.
handler EventHandler<TEventArgs> The handler.

Return Value

Type Description
void