RoutedViewHost class¶
Attributes: [DebuggerDisplay("{Router}, {SetTitleOnNavigate}")]
Defined in
Namespace: ReactiveUI.Reactive.Maui
Assembly: ReactiveUI.Maui.Reactive.dll
Full name: ReactiveUI.Reactive.Maui.RoutedViewHost
Modifiers: public
Summary¶
This is a NavigationPage that serves as a router.
Applies to
net10.0, net10.0-android36.0, net10.0-ios26.0, net10.0-macos26.0, net10.0-windows10.0.19041, net10.0-browserwasm1.0, net10.0-desktop1.0, net10.0-maccatalyst26.0, net10.0-tvos26.0, net9.0-desktop1.0, net9.0-windows10.0.19041
Class hierarchy
classDiagram
class RoutedViewHost
class NavigationPage
NavigationPage <|-- RoutedViewHost
class IActivatableView {
<>
}
IActivatableView <|.. RoutedViewHost
class IEnableLogger {
<>
}
IEnableLogger <|.. RoutedViewHost
Inherits from: NavigationPage
Implements: IActivatableView, IEnableLogger
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [RoutedViewHost](# class. |
Properties¶
| Name | Summary |
|---|---|
| Router | Gets or sets the [RoutingState](# of the view model stack. |
| SetTitleOnNavigate | Gets or sets a value indicating whether gets or sets the Set Title of the view model stack. |
Fields¶
| Name | Summary |
|---|---|
| static RouterProperty | The router bindable property. |
| static SetTitleOnNavigateProperty | The Set Title on Navigate property. |
Methods¶
| Name | Summary |
|---|---|
| PagesForViewModel | Pages for view model. |
| PageForViewModel | Page for view model. |
| InvalidateCurrentViewModel | Invalidates current page view model. |
| SyncNavigationStacksAsync | Syncs page's navigation stack with [Router](# to affect [Router](# manipulations like Add or Clear. |