Class ReactiveControl<TViewModel>
- Namespace
- ReactiveUI
- Assembly
- ReactiveUI.dll
This is a UIControl that is both and UIControl and has a ReactiveObject powers (i.e. you can call RaiseAndSetIfChanged).
public abstract class ReactiveControl<TViewModel> : ReactiveControl, IReactiveNotifyPropertyChanged<ReactiveControl>, IHandleObservableErrors, IReactiveObject, INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger, ICanActivate, IViewFor<TViewModel>, IViewFor, IActivatableView where TViewModel : class
Type Parameters
TViewModel
The view model type.
- Inheritance
-
ReactiveControl<TViewModel>
- Implements
-
IViewFor<TViewModel>
- Inherited Members
- Extension Methods
Constructors
ReactiveControl()
Initializes a new instance of the ReactiveControl<TViewModel> class.
protected ReactiveControl()
ReactiveControl(CGRect?)
Initializes a new instance of the ReactiveControl<TViewModel> class.
protected ReactiveControl(CGRect? frame)
Parameters
frame
CGRectThe frame.
ReactiveControl(NSCoder)
Initializes a new instance of the ReactiveControl<TViewModel> class.
protected ReactiveControl(NSCoder c)
Parameters
c
NSCoderThe coder.
ReactiveControl(NSObjectFlag)
Initializes a new instance of the ReactiveControl<TViewModel> class.
protected ReactiveControl(NSObjectFlag f)
Parameters
f
NSObjectFlagThe object flag.
ReactiveControl(IntPtr)
Initializes a new instance of the ReactiveControl<TViewModel> class.
protected ReactiveControl(IntPtr handle)
Parameters
handle
IntPtrThe pointer handle.
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