Class ReactivePageViewController
- Namespace
- ReactiveUI
- Assembly
- ReactiveUI.dll
This is a UIPageViewController that is both an UIPageViewController and has ReactiveObject powers (i.e. you can call RaiseAndSetIfChanged).
public abstract class ReactivePageViewController : UIPageViewController, IReactiveNotifyPropertyChanged<ReactivePageViewController>, IHandleObservableErrors, IReactiveObject, INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger, ICanActivate
- Inheritance
-
ReactivePageViewController
- Implements
- Derived
- Extension Methods
Constructors
ReactivePageViewController()
Initializes a new instance of the ReactivePageViewController class.
protected ReactivePageViewController()
ReactivePageViewController(NSCoder)
Initializes a new instance of the ReactivePageViewController class.
protected ReactivePageViewController(NSCoder coder)
Parameters
coder
NSCoderThe coder.
ReactivePageViewController(NSObjectFlag)
Initializes a new instance of the ReactivePageViewController class.
protected ReactivePageViewController(NSObjectFlag t)
Parameters
t
NSObjectFlagThe t.
ReactivePageViewController(IntPtr)
Initializes a new instance of the ReactivePageViewController class.
protected ReactivePageViewController(IntPtr handle)
Parameters
handle
IntPtrThe handle.
ReactivePageViewController(string, NSBundle)
Initializes a new instance of the ReactivePageViewController class.
protected ReactivePageViewController(string nibName, NSBundle bundle)
Parameters
nibName
stringName of the nib.
bundle
NSBundleThe bundle.
ReactivePageViewController(UIPageViewControllerTransitionStyle, UIPageViewControllerNavigationOrientation)
Initializes a new instance of the ReactivePageViewController class.
protected ReactivePageViewController(UIPageViewControllerTransitionStyle style, UIPageViewControllerNavigationOrientation orientation)
Parameters
style
UIPageViewControllerTransitionStyleThe style.
orientation
UIPageViewControllerNavigationOrientationThe orientation.
ReactivePageViewController(UIPageViewControllerTransitionStyle, UIPageViewControllerNavigationOrientation, NSDictionary)
Initializes a new instance of the ReactivePageViewController class.
protected ReactivePageViewController(UIPageViewControllerTransitionStyle style, UIPageViewControllerNavigationOrientation orientation, NSDictionary options)
Parameters
style
UIPageViewControllerTransitionStyleThe style.
orientation
UIPageViewControllerNavigationOrientationThe orientation.
options
NSDictionaryThe options.
ReactivePageViewController(UIPageViewControllerTransitionStyle, UIPageViewControllerNavigationOrientation, UIPageViewControllerSpineLocation)
Initializes a new instance of the ReactivePageViewController class.
protected ReactivePageViewController(UIPageViewControllerTransitionStyle style, UIPageViewControllerNavigationOrientation orientation, UIPageViewControllerSpineLocation spineLocation)
Parameters
style
UIPageViewControllerTransitionStyleThe style.
orientation
UIPageViewControllerNavigationOrientationThe orientation.
spineLocation
UIPageViewControllerSpineLocationThe spine location.
ReactivePageViewController(UIPageViewControllerTransitionStyle, UIPageViewControllerNavigationOrientation, UIPageViewControllerSpineLocation, float)
Initializes a new instance of the ReactivePageViewController class.
protected ReactivePageViewController(UIPageViewControllerTransitionStyle style, UIPageViewControllerNavigationOrientation orientation, UIPageViewControllerSpineLocation spineLocation, float interPageSpacing)
Parameters
style
UIPageViewControllerTransitionStyleThe style.
orientation
UIPageViewControllerNavigationOrientationThe orientation.
spineLocation
UIPageViewControllerSpineLocationThe spine location.
interPageSpacing
floatThe inter page spacing.
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<ReactivePageViewController>> 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<ReactivePageViewController>> 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