RoutedViewHost class¶
Defined in
Namespace: ReactiveUI.Maui
Assembly: ReactiveUI.Maui.dll
Full name: ReactiveUI.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-tvos26.0, net10.0-maccatalyst26.0, net9.0, net9.0-tvos18.0, net9.0-maccatalyst18.0, net9.0-windows10.0.19041, net9.0-browserwasm1.0, net9.0-macos15.0, net9.0-ios18.0, net9.0-android35.0, net9.0-desktop1.0, net8.0-macos15.0, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-tvos18.0, netstandard2.1
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. |