Class ReactiveNavigationController
- Namespace
- ReactiveUI
- Assembly
- ReactiveUI.dll
This is a UINavigationController that is both an UINavigationController and has ReactiveObject powers (i.e. you can call RaiseAndSetIfChanged).
public abstract class ReactiveNavigationController : UINavigationController, IReactiveNotifyPropertyChanged<ReactiveNavigationController>, IHandleObservableErrors, IReactiveObject, INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger, ICanActivate, IActivatableView
- Inheritance
-
ReactiveNavigationController
- Implements
- Derived
- Extension Methods
Constructors
ReactiveNavigationController()
Initializes a new instance of the ReactiveNavigationController class.
protected ReactiveNavigationController()
ReactiveNavigationController(NSCoder)
Initializes a new instance of the ReactiveNavigationController class.
protected ReactiveNavigationController(NSCoder coder)
Parameters
coder
NSCoderThe coder.
ReactiveNavigationController(NSObjectFlag)
Initializes a new instance of the ReactiveNavigationController class.
protected ReactiveNavigationController(NSObjectFlag t)
Parameters
t
NSObjectFlagThe object flag.
ReactiveNavigationController(IntPtr)
Initializes a new instance of the ReactiveNavigationController class.
protected ReactiveNavigationController(IntPtr handle)
Parameters
handle
IntPtrThe pointer.
ReactiveNavigationController(string, NSBundle)
Initializes a new instance of the ReactiveNavigationController class.
protected ReactiveNavigationController(string nibName, NSBundle bundle)
Parameters
nibName
stringThe name.
bundle
NSBundleThe bundle.
ReactiveNavigationController(Type, Type)
Initializes a new instance of the ReactiveNavigationController class.
protected ReactiveNavigationController(Type navigationBarType, Type toolbarType)
Parameters
ReactiveNavigationController(UIViewController)
Initializes a new instance of the ReactiveNavigationController class.
protected ReactiveNavigationController(UIViewController rootViewController)
Parameters
rootViewController
UIViewControllerThe ui view controller.
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<ReactiveNavigationController>> 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<ReactiveNavigationController>> 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