Summary
Holds the route for a routed event and supports raising an event on that route.
- Namespace
- Avalonia
.Interactivity - Interfaces
-
- IDisposable
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type-.->Interface0["IDisposable"]
Type["EventRoute"]
class Type type-node
Syntax
public class EventRoute : IDisposable
Constructors
Name | Summary |
---|---|
EventRoute |
Initializes a new instance of the RoutedEvent class.
|
Properties
Name | Value | Summary |
---|---|---|
HasHandlers | bool |
Gets a value indicating whether the route has any handlers.
|
Methods
Name | Value | Summary |
---|---|---|
Add |
void |
Adds a handler to the route.
|
AddClassHandler |
void |
Adds a class handler to the route.
|
Dispose |
void |
Disposes of the event route.
|
RaiseEvent |
void |
Raises an event along the route.
|