ReactiveView class¶
Attributes: [DebuggerDisplay("{Activated}, {Deactivated}")]
Defined in
Namespace: ReactiveUI.Reactive
Assembly: ReactiveUI.Reactive.dll
Full name: ReactiveUI.Reactive.ReactiveView
Modifiers: public
Summary¶
This is a View that is both a NSView and has ReactiveObject powers (i.e. you can call RaiseAndSetIfChanged).
Applies to
net10.0-ios26.0, net10.0-macos26.0, net10.0-maccatalyst26.0, net10.0-tvos26.0
Class hierarchy
classDiagram
class ReactiveView
class UIView
UIView <|-- ReactiveView
class IReactiveNotifyPropertyChanged~ReactiveView~ {
<>
}
IReactiveNotifyPropertyChanged~ReactiveView~ <|.. ReactiveView
class IHandleObservableErrors {
<>
}
IHandleObservableErrors <|.. ReactiveView
class IReactiveObject {
<>
}
IReactiveObject <|.. ReactiveView
class INotifyPropertyChanged {
<>
}
INotifyPropertyChanged <|.. ReactiveView
class INotifyPropertyChanging {
<>
}
INotifyPropertyChanging <|.. ReactiveView
class IEnableLogger {
<>
}
IEnableLogger <|.. ReactiveView
class ICanActivate {
<>
}
ICanActivate <|.. ReactiveView
class ICanForceManualActivation {
<>
}
ICanForceManualActivation <|.. ReactiveView
Inherits from: UIView
Implements: IReactiveNotifyPropertyChanged
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [ReactiveView](# class. |
Properties¶
| Name | Summary |
|---|---|
| ThrownExceptions | Gets a observable which will fire whenever an exception would normally terminate ReactiveUI internal state. |
| Activated | Gets a observable which is triggered when the ViewModel is activated. |
| Deactivated | Gets a observable which is triggered when the ViewModel is deactivated. |
| Changing | Gets an observable that fires before a property is about to be changed. Note that this should not fire duplicate change notifications if a property is set to the same... |
| Changed | Gets an Observable that fires after a property has changed. Note that this should not fire duplicate change notifications if a property is set to the same value multiple... |
Methods¶
| Name | Summary |
|---|---|
| SuppressChangeNotifications | When this method is called, an object will not fire change notifications (neither traditional nor Observable notifications) until the return value is disposed. |
| WillMoveToSuperview | |
| Dispose |
Events¶
| Name | Summary |
|---|---|
| PropertyChanging | |
| PropertyChanged |