InteractiveExtensions Class
Definition
Provides extension methods for the Avalonia.Interactivity.Interactive interface.
public class InteractiveExtensions
Methods
| Name | Description |
|---|---|
| AddDisposableHandler | No summary available. |
| GetInteractiveParent | No summary available. |
| GetObservable | No summary available. |
AddDisposableHandler Method
public IDisposable AddDisposableHandler<TEventArgs>(Avalonia.Interactivity.Interactive o, Avalonia.Interactivity.RoutedEvent<TEventArgs><TEventArgs> routedEvent, EventHandler<TEventArgs> handler, Avalonia.Interactivity.RoutingStrategies routes, bool handledEventsToo)
Parameters
o Avalonia.Interactivity.Interactive
routedEvent Avalonia.Interactivity.RoutedEvent<TEventArgs><TEventArgs>
handler EventHandler<TEventArgs>
routes Avalonia.Interactivity.RoutingStrategies
handledEventsToo bool
Type Parameters
TEventArgs
Returns
IDisposable
GetInteractiveParent Method
public Avalonia.Interactivity.Interactive GetInteractiveParent(Avalonia.Interactivity.Interactive o)
Parameters
o Avalonia.Interactivity.Interactive
Returns
GetObservable Method
public IObservable<TEventArgs> GetObservable<TEventArgs>(Avalonia.Interactivity.Interactive o, Avalonia.Interactivity.RoutedEvent<TEventArgs><TEventArgs> routedEvent, Avalonia.Interactivity.RoutingStrategies routes, bool handledEventsToo)
Parameters
o Avalonia.Interactivity.Interactive
routedEvent Avalonia.Interactivity.RoutedEvent<TEventArgs><TEventArgs>
routes Avalonia.Interactivity.RoutingStrategies
handledEventsToo bool
Type Parameters
TEventArgs
Returns
IObservable<TEventArgs>