ObservableForPropertyBase.ObservableFromUIControlEvent(NSObject, Expression, UIControlEvent) method¶
Defined in
Type: ObservableForPropertyBase
Namespace: ReactiveUI.Reactive
Assembly: ReactiveUI.Reactive.dll
Applies to
net10.0-ios26.0, net10.0-macos26.0, net10.0-maccatalyst26.0, net10.0-tvos26.0
protected static IObservable<IObservedChange<object, object?>> ObservableFromUIControlEvent(NSObject sender, Expression expression, UIControlEvent evt)
Summary: Creates an observable sequence that produces a notification each time the given UIControlEvent is raised by the sender.
Parameters
| Name | Type | Description |
|---|---|---|
sender | NSObject | The native sender. |
expression | Expression | The expression associated with the observed change. |
evt | UIControlEvent | The control event to listen for. |
Returns: IObservable