Class ReactiveFragment<TViewModel>
- Namespace
- ReactiveUI
- Assembly
- ReactiveUI.dll
This is a Fragment that is both an Activity and has ReactiveObject powers (i.e. you can call RaiseAndSetIfChanged).
public class ReactiveFragment<TViewModel> : ReactiveFragment, IReactiveNotifyPropertyChanged<ReactiveFragment>, IReactiveObject, INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger, IHandleObservableErrors, IViewFor<TViewModel>, IViewFor, IActivatableView, ICanActivate where TViewModel : class
Type Parameters
TViewModel
The view model type.
- Inheritance
-
ReactiveFragment<TViewModel>
- Implements
-
IViewFor<TViewModel>
- Inherited Members
- Extension Methods
Constructors
ReactiveFragment()
Initializes a new instance of the ReactiveFragment<TViewModel> class.
protected ReactiveFragment()
ReactiveFragment(in IntPtr, JniHandleOwnership?)
Initializes a new instance of the ReactiveFragment<TViewModel> class.
protected ReactiveFragment(in 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