Class ReactiveCollectionViewController
- Namespace
- ReactiveUI
- Assembly
- ReactiveUI.dll
This is a UICollectionViewController that is both an UICollectionViewController and has ReactiveObject powers (i.e. you can call RaiseAndSetIfChanged).
public abstract class ReactiveCollectionViewController : UICollectionViewController, IReactiveNotifyPropertyChanged<ReactiveCollectionViewController>, IHandleObservableErrors, IReactiveObject, INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger, ICanActivate
- Inheritance
-
ReactiveCollectionViewController
- Implements
- Derived
- Extension Methods
Constructors
ReactiveCollectionViewController()
Initializes a new instance of the ReactiveCollectionViewController class.
protected ReactiveCollectionViewController()
ReactiveCollectionViewController(NSCoder)
Initializes a new instance of the ReactiveCollectionViewController class.
protected ReactiveCollectionViewController(NSCoder coder)
Parameters
coder
NSCoderThe coder.
ReactiveCollectionViewController(NSObjectFlag)
Initializes a new instance of the ReactiveCollectionViewController class.
protected ReactiveCollectionViewController(NSObjectFlag t)
Parameters
t
NSObjectFlagThe object flag.
ReactiveCollectionViewController(IntPtr)
Initializes a new instance of the ReactiveCollectionViewController class.
protected ReactiveCollectionViewController(IntPtr handle)
Parameters
handle
IntPtrThe pointer.
ReactiveCollectionViewController(string, NSBundle)
Initializes a new instance of the ReactiveCollectionViewController class.
protected ReactiveCollectionViewController(string nibName, NSBundle bundle)
Parameters
nibName
stringThe name.
bundle
NSBundleThe bundle.
ReactiveCollectionViewController(UICollectionViewLayout)
Initializes a new instance of the ReactiveCollectionViewController class.
protected ReactiveCollectionViewController(UICollectionViewLayout withLayout)
Parameters
withLayout
UICollectionViewLayoutThe ui collection view layout.
Properties
Activated
Gets a observable which is triggered when the ViewModel is activated.
public IObservable<Unit> Activated { get; }
Property Value
- IObservable<Unit>
Changed
Gets an Observable that fires after a property has changed. Note that this should not fire duplicate change notifications if a property is set to the same value multiple times.
public IObservable<IReactivePropertyChangedEventArgs<ReactiveCollectionViewController>> Changed { get; }
Property Value
Changing
Gets an observable that fires before a property is about to be changed. Note that this should not fire duplicate change notifications if a property is set to the same value multiple times.
public IObservable<IReactivePropertyChangedEventArgs<ReactiveCollectionViewController>> Changing { get; }
Property Value
Deactivated
Gets a observable which is triggered when the ViewModel is deactivated.
public IObservable<Unit> Deactivated { get; }
Property Value
- IObservable<Unit>
ThrownExceptions
Gets a observable which will fire whenever an exception would normally terminate ReactiveUI internal state.
public IObservable<Exception> ThrownExceptions { get; }
Property Value
Methods
Dispose(bool)
protected override void Dispose(bool disposing)
Parameters
disposing
bool
SuppressChangeNotifications()
When this method is called, an object will not fire change notifications (neither traditional nor Observable notifications) until the return value is disposed.
public IDisposable SuppressChangeNotifications()
Returns
- IDisposable
An object that, when disposed, reenables change notifications.
ViewDidDisappear(bool)
public override void ViewDidDisappear(bool animated)
Parameters
animated
bool
ViewWillAppear(bool)
public override void ViewWillAppear(bool animated)
Parameters
animated
bool
Events
PropertyChanged
public event PropertyChangedEventHandler? PropertyChanged
Event Type
PropertyChanging
public event PropertyChangingEventHandler? PropertyChanging