UIKitObservableForProperty class¶
Attributes: [Preserve]
Defined in
Namespace: ReactiveUI
Assembly: ReactiveUI.dll
Full name: ReactiveUI.UIKitObservableForProperty
Modifiers: public sealed
Summary¶
UIKitObservableForProperty provides toolkit-specific observable factories used by ReactiveUI
to generate change notifications for UIKit controls in WhenAny* and related operators.
Applies to
net10.0-ios26.0, net10.0-maccatalyst26.0, net10.0-tvos26.0, net9.0-ios18.0, net9.0-maccatalyst18.0, net9.0-tvos18.0, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0
Class hierarchy
classDiagram
class UIKitObservableForProperty
class ObservableForPropertyBase
ObservableForPropertyBase <|-- UIKitObservableForProperty
Inherits from: ObservableForPropertyBase
Remarks¶
This implementation registers observable factories for common UIKit properties that change via control events or notifications. For event-based notifications, this implementation uses explicit add/remove handler overloads (non-reflection) provided by ObservableForPropertyBase to improve performance and trimming/AOT compatibility.
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [UIKitObservableForProperty](# class. |
Properties¶
| Name | Summary |
|---|---|
| static Instance | Gets the shared [UIKitObservableForProperty](# instance. |
Inherited members
ReactiveUI.ObservableForPropertyBase.GetAffinityForObject(System.Type,System.String,System.Boolean)ReactiveUI.ObservableForPropertyBase.GetNotificationForProperty(System.Object,System.Linq.Expressions.Expression,System.String,System.Boolean,System.Boolean)ReactiveUI.ObservableForPropertyBase.ObservableFromUIControlEvent(Foundation.NSObject,System.Linq.Expressions.Expression,UIKit.UIControlEvent)ReactiveUI.ObservableForPropertyBase.ObservableFromNotification(Foundation.NSObject,System.Linq.Expressions.Expression,Foundation.NSString)ReactiveUI.ObservableForPropertyBase.ObservableFromEvent(Foundation.NSObject,System.Linq.Expressions.Expression,System.String)ReactiveUI.ObservableForPropertyBase.ObservableFromEvent``1(``0,System.Linq.Expressions.Expression,System.Action{System.EventHandler},System.Action{System.EventHandler})ReactiveUI.ObservableForPropertyBase.ObservableFromEvent``2(``0,System.Linq.Expressions.Expression,System.Action{System.EventHandler{``1}},System.Action{System.EventHandler{``1}})ReactiveUI.ObservableForPropertyBase.Register(System.Type,System.String,System.Int32,System.Func{Foundation.NSObject,System.Linq.Expressions.Expression,System.IObservable{ReactiveUI.IObservedChange{System.Object,System.Object}}})ReactiveUI.ObservableForPropertyBase.#ctorSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseCloneSystem.Object.ReferenceEquals(System.Object,System.Object)System.Object.ToString