Class RoutedViewHost
- Namespace
- ReactiveUI
- Assembly
- ReactiveUI.dll
RoutedViewHost is a ReactiveNavigationController that monitors its RoutingState and keeps the navigation stack in line with it.
public class RoutedViewHost : ReactiveNavigationController, IReactiveNotifyPropertyChanged<ReactiveNavigationController>, IHandleObservableErrors, IReactiveObject, INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger, ICanActivate, IActivatableView
- Inheritance
-
RoutedViewHost
- Implements
- Inherited Members
- Extension Methods
Constructors
RoutedViewHost()
Initializes a new instance of the RoutedViewHost class.
public RoutedViewHost()
Fields
DefaultContentProperty
The default content property.
public static readonly DependencyProperty DefaultContentProperty
Field Value
- DependencyProperty
RouterProperty
The router dependency property.
public static readonly DependencyProperty RouterProperty
Field Value
- DependencyProperty
ViewContractObservableProperty
The view contract observable property.
public static readonly DependencyProperty ViewContractObservableProperty
Field Value
- DependencyProperty
Properties
DefaultContent
Gets or sets the content displayed whenever there is no page currently routed.
public object DefaultContent { get; set; }
Property Value
Router
Gets or sets the RoutingState of the view model stack.
public RoutingState? Router { get; set; }
Property Value
ViewContract
Gets or sets the view contract.
public string? ViewContract { get; set; }
Property Value
ViewContractObservable
Gets or sets the view contract observable.
public IObservable<string?>? ViewContractObservable { get; set; }
Property Value
ViewLocator
Gets or sets the view locator.
public IViewLocator? ViewLocator { get; set; }
Property Value
Methods
Dispose(bool)
protected override void Dispose(bool disposing)
Parameters
disposing
bool
PopViewController(bool)
public override UIViewController PopViewController(bool animated)
Parameters
animated
bool
Returns
- UIViewController
PushViewController(UIViewController?, bool)
public override void PushViewController(UIViewController? viewController, bool animated)
Parameters
viewController
UIViewControlleranimated
bool