Class ReactiveActivity<TViewModel>
- Namespace
- ReactiveUI
- Assembly
- ReactiveUI.dll
This is an Activity that is both an Activity and has ReactiveObject powers (i.e. you can call RaiseAndSetIfChanged).
public class ReactiveActivity<TViewModel> : ReactiveActivity, IReactiveObject, INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger, IReactiveNotifyPropertyChanged<ReactiveActivity>, IHandleObservableErrors, IViewFor<TViewModel>, IViewFor, IActivatableView, ICanActivate where TViewModel : class
Type Parameters
TViewModel
The view model type.
- Inheritance
-
ReactiveActivity<TViewModel>
- Implements
-
IViewFor<TViewModel>
- Inherited Members
- Extension Methods
Constructors
ReactiveActivity()
Initializes a new instance of the ReactiveActivity<TViewModel> class.
protected ReactiveActivity()
ReactiveActivity(IntPtr, JniHandleOwnership?)
Initializes a new instance of the ReactiveActivity<TViewModel> class.
protected ReactiveActivity(IntPtr handle, JniHandleOwnership? ownership)
Parameters
handle
IntPtrThe handle.
ownership
JniHandleOwnershipThe ownership.
Properties
ViewModel
Gets or sets the ViewModel corresponding to this specific View. This should be a DependencyProperty if you're using XAML.
public TViewModel? ViewModel { get; set; }
Property Value
- TViewModel