Skip to main content

RoutedEvent<TEventArgs> Class

Definition​

Assembly:Avalonia.Base
Package:Avalonia
public class RoutedEvent<TEventArgs>

Inheritance: object -> RoutedEvent -> RoutedEvent<TEventArgs>

Constructors​

NameDescription
RoutedEvent<TEventArgs>No summary available.

RoutedEvent<TEventArgs> Constructor​

public RoutedEvent<TEventArgs>(string name, Avalonia.Interactivity.RoutingStrategies routingStrategies, Type ownerType)

Parameters​

name string

routingStrategies Avalonia.Interactivity.RoutingStrategies

ownerType Type

Methods​

NameDescription
AddClassHandlerInherited from RoutedEvent.
AddClassHandlerNo summary available.
Register (2 overloads)Inherited from RoutedEvent.
ToStringInherited from RoutedEvent.

AddClassHandler Method​

public IDisposable AddClassHandler<TTarget>(Action<TTarget, TEventArgs> handler, Avalonia.Interactivity.RoutingStrategies routes, bool handledEventsToo)

Parameters​

handler Action<TTarget, TEventArgs>

routes Avalonia.Interactivity.RoutingStrategies

handledEventsToo bool

Type Parameters​

TTarget

Returns​

IDisposable

Properties​

NameDescription
EventArgsTypeInherited from RoutedEvent.
HasRaisedSubscriptionsInherited from RoutedEvent.
NameInherited from RoutedEvent.
OwnerTypeInherited from RoutedEvent.
RaisedInherited from RoutedEvent.
RouteFinishedInherited from RoutedEvent.
RoutingStrategiesInherited from RoutedEvent.