Skip to content

ReactiveControl class

Attributes: [DebuggerDisplay("{Activated}, {Deactivated}")]

Defined in

Namespace: ReactiveUI.Reactive Assembly: ReactiveUI.Reactive.dll Full name: ReactiveUI.Reactive.ReactiveControl Modifiers: public

Summary

View source

        This is a UIControl that is both and UIControl and has a 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 ReactiveControl
class UIControl
UIControl <|-- ReactiveControl
class IReactiveNotifyPropertyChanged~ReactiveControl~ {
    <>
}
IReactiveNotifyPropertyChanged~ReactiveControl~ <|.. ReactiveControl
class IHandleObservableErrors {
    <>
}
IHandleObservableErrors <|.. ReactiveControl
class IReactiveObject {
    <>
}
IReactiveObject <|.. ReactiveControl
class INotifyPropertyChanged {
    <>
}
INotifyPropertyChanged <|.. ReactiveControl
class INotifyPropertyChanging {
    <>
}
INotifyPropertyChanging <|.. ReactiveControl
class IEnableLogger {
    <>
}
IEnableLogger <|.. ReactiveControl
class ICanActivate {
    <>
}
ICanActivate <|.. ReactiveControl
class ICanForceManualActivation {
    <>
}
ICanForceManualActivation <|.. ReactiveControl

Inherits from: UIControl

Implements: IReactiveNotifyPropertyChanged, IHandleObservableErrors, IReactiveObject, INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger, ICanActivate, ICanForceManualActivation

Constructors

NameSummary
.ctorInitializes a new instance of the [ReactiveControl](# class.

Properties

NameSummary
ChangingGets 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...
ChangedGets 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...
ThrownExceptionsGets a observable which will fire whenever an exception would normally terminate ReactiveUI internal state.
ActivatedGets a observable when the control is activated.
DeactivatedGets a observable that occurs when the control is deactivated.

Methods

NameSummary
WillMoveToSuperview
SuppressChangeNotificationsWhen this method is called, an object will not fire change notifications (neither traditional nor Observable notifications) until the return value is disposed.
Dispose

Events

NameSummary
PropertyChanging
PropertyChanged

Derived types

Inherited members