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