Class ReactiveCollectionReusableView
- Namespace
- ReactiveUI
- Assembly
- ReactiveUI.dll
This is a UICollectionReusableView that is both an UICollectionReusableView and has ReactiveObject powers (i.e. you can call RaiseAndSetIfChanged).
public abstract class ReactiveCollectionReusableView : UICollectionReusableView, IReactiveNotifyPropertyChanged<ReactiveCollectionReusableView>, IHandleObservableErrors, IReactiveObject, INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger, ICanActivate
- Inheritance
-
ReactiveCollectionReusableView
- Implements
- Derived
- Extension Methods
Constructors
ReactiveCollectionReusableView()
Initializes a new instance of the ReactiveCollectionReusableView class.
protected ReactiveCollectionReusableView()
ReactiveCollectionReusableView(CGRect)
Initializes a new instance of the ReactiveCollectionReusableView class.
protected ReactiveCollectionReusableView(CGRect frame)
Parameters
frame
CGRectThe frame.
ReactiveCollectionReusableView(NSCoder)
Initializes a new instance of the ReactiveCollectionReusableView class.
protected ReactiveCollectionReusableView(NSCoder coder)
Parameters
coder
NSCoderThe coder.
ReactiveCollectionReusableView(NSObjectFlag)
Initializes a new instance of the ReactiveCollectionReusableView class.
protected ReactiveCollectionReusableView(NSObjectFlag t)
Parameters
t
NSObjectFlagThe object flag.
ReactiveCollectionReusableView(IntPtr)
Initializes a new instance of the ReactiveCollectionReusableView class.
protected ReactiveCollectionReusableView(IntPtr handle)
Parameters
handle
IntPtrThe pointer.
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<ReactiveCollectionReusableView>> 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<ReactiveCollectionReusableView>> 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
RemoveFromSuperview()
public override void RemoveFromSuperview()
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.
WillMoveToSuperview(UIView?)
public override void WillMoveToSuperview(UIView? newsuper)
Parameters
newsuper
UIView
Events
PropertyChanged
public event PropertyChangedEventHandler? PropertyChanged
Event Type
PropertyChanging
public event PropertyChangingEventHandler? PropertyChanging