EventRoute Class

Holds the route for a routed event and supports raising an event on that route.

Definition

Namespace: Avalonia.Interactivity
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public class EventRoute : IDisposable
Inheritance
Object    EventRoute
Implements
IDisposable

Properties

HasHandlers Gets a value indicating whether the route has any handlers.

Methods

Add(Interactive, Delegate, RoutingStrategies, Boolean, ActionDelegate, Object, RoutedEventArgs) Adds a handler to the route.
AddClassHandler(Interactive) Adds a class handler to the route.
Dispose Disposes of the event route.
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
RaiseEvent(Interactive, RoutedEventArgs) Raises an event along the route.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also