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