Summary
Syntax
public static IObservable<TEventArgs> GetObservable<TEventArgs>(this IInteractive o, RoutedEvent<TEventArgs> routedEvent, RoutingStrategies routes = Direct | Bubble, bool handledEventsToo = false)
where TEventArgs : RoutedEventArgs
Type Parameters
Name |
Description |
TEventArgs |
|
Parameters
Name |
Type |
Description |
o |
IInteractive |
The object to listen for events on. |
routedEvent |
RoutedEvent<TEventArgs> |
The routed event. |
routes |
RoutingStrategies |
The routing strategies to listen to. |
handledEventsToo |
bool |
Whether handled events should also be listened for. |
Return Value
Type |
Description |
IObservable<TEventArgs> |
An observable which fires each time the event is raised.
|