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