Class ReactivePageViewController<TViewModel>
- 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<TViewModel> : ReactivePageViewController, IReactiveNotifyPropertyChanged<ReactivePageViewController>, IHandleObservableErrors, IReactiveObject, INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger, ICanActivate, IViewFor<TViewModel>, IViewFor, IActivatableView where TViewModel : class
Type Parameters
TViewModel
The view model type.
- Inheritance
-
ReactivePageViewController<TViewModel>
- Implements
-
IViewFor<TViewModel>
- Inherited Members
- Extension Methods
Constructors
ReactivePageViewController()
Initializes a new instance of the ReactivePageViewController<TViewModel> class.
protected ReactivePageViewController()
ReactivePageViewController(NSCoder)
Initializes a new instance of the ReactivePageViewController<TViewModel> class.
protected ReactivePageViewController(NSCoder coder)
Parameters
coder
NSCoderThe coder.
ReactivePageViewController(NSObjectFlag)
Initializes a new instance of the ReactivePageViewController<TViewModel> class.
protected ReactivePageViewController(NSObjectFlag t)
Parameters
t
NSObjectFlagThe object flag.
ReactivePageViewController(IntPtr)
Initializes a new instance of the ReactivePageViewController<TViewModel> class.
protected ReactivePageViewController(IntPtr handle)
Parameters
handle
IntPtrThe pointer.
ReactivePageViewController(string, NSBundle)
Initializes a new instance of the ReactivePageViewController<TViewModel> class.
protected ReactivePageViewController(string nibName, NSBundle bundle)
Parameters
nibName
stringThe name.
bundle
NSBundleThe bundle.
ReactivePageViewController(UIPageViewControllerTransitionStyle?, UIPageViewControllerNavigationOrientation?)
Initializes a new instance of the ReactivePageViewController<TViewModel> class.
protected ReactivePageViewController(UIPageViewControllerTransitionStyle? style, UIPageViewControllerNavigationOrientation? orientation)
Parameters
style
UIPageViewControllerTransitionStyleThe view controller transition style.
orientation
UIPageViewControllerNavigationOrientationThe view controller navigation orientation.
ReactivePageViewController(UIPageViewControllerTransitionStyle, UIPageViewControllerNavigationOrientation, NSDictionary)
Initializes a new instance of the ReactivePageViewController<TViewModel> class.
protected ReactivePageViewController(UIPageViewControllerTransitionStyle style, UIPageViewControllerNavigationOrientation orientation, NSDictionary options)
Parameters
style
UIPageViewControllerTransitionStyleThe view controller transition style.
orientation
UIPageViewControllerNavigationOrientationThe view controller navigation orientation.
options
NSDictionaryThe options.
ReactivePageViewController(UIPageViewControllerTransitionStyle?, UIPageViewControllerNavigationOrientation?, UIPageViewControllerSpineLocation?)
Initializes a new instance of the ReactivePageViewController<TViewModel> class.
protected ReactivePageViewController(UIPageViewControllerTransitionStyle? style, UIPageViewControllerNavigationOrientation? orientation, UIPageViewControllerSpineLocation? spineLocation)
Parameters
style
UIPageViewControllerTransitionStyleThe view controller transition style.
orientation
UIPageViewControllerNavigationOrientationThe view controller navigation orientation.
spineLocation
UIPageViewControllerSpineLocationThe view controller spine location.
ReactivePageViewController(UIPageViewControllerTransitionStyle?, UIPageViewControllerNavigationOrientation?, UIPageViewControllerSpineLocation?, float)
Initializes a new instance of the ReactivePageViewController<TViewModel> class.
protected ReactivePageViewController(UIPageViewControllerTransitionStyle? style, UIPageViewControllerNavigationOrientation? orientation, UIPageViewControllerSpineLocation? spineLocation, float interPageSpacing)
Parameters
style
UIPageViewControllerTransitionStyleThe view controller transition style.
orientation
UIPageViewControllerNavigationOrientationThe view controller navigation orientation.
spineLocation
UIPageViewControllerSpineLocationThe view controller spine location.
interPageSpacing
floatThe spacing between pages.
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