ViewModelRoutedViewHost class¶
Defined in
Namespace: CrissCross.WPF
Assembly: CrissCross.WPF.dll
Full name: CrissCross.WPF.ViewModelRoutedViewHost
Modifiers: public
Summary¶
View Model Routed View Host.
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
Class hierarchy
classDiagram
class ViewModelRoutedViewHost
class TransitioningContentControl
TransitioningContentControl <|-- ViewModelRoutedViewHost
class IViewModelRoutedViewHost {
<>
}
IViewModelRoutedViewHost <|.. ViewModelRoutedViewHost
class IActivatableView {
<>
}
IActivatableView <|.. ViewModelRoutedViewHost
class IEnableLogger {
<>
}
IEnableLogger <|.. ViewModelRoutedViewHost
class IDisposable {
<>
}
IDisposable <|.. ViewModelRoutedViewHost
Inherits from: TransitioningContentControl
Implements: IViewModelRoutedViewHost, IActivatableView, IEnableLogger, IDisposable
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [ViewModelRoutedViewHost](# class. |
Properties¶
| Name | Summary |
|---|---|
| ViewLocator | Gets or sets the view AppLocator. |
| CanNavigateBack | Gets or sets a value indicating whether [navigate back is enabled]. |
| CanNavigateBackObservable | Gets the can navigate back observable. |
| CurrentViewModel | Gets the current view model. |
| HostName | Gets or sets the name of the host. |
| NavigateBackIsEnabled | Gets or sets a value indicating whether [navigate back is enabled]. |
| NavigationStack | Gets the navigation stack. |
| RequiresSetup | Gets a value indicating whether [requires setup]. |
Fields¶
| Name | Summary |
|---|---|
| static CanNavigateBackProperty | The navigate back is enabled property. |
| static HostNameProperty | The host name property. |
| static NavigateBackIsEnabledProperty | The navigate back is enabled property. |
Methods¶
| Name | Summary |
|---|---|
| ClearHistory | Clears the history. |
| Navigate | Navigates the ViewModel contract. |
| NavigateAndReset | Navigates and resets. |
| NavigateBack | Navigates back. |
| OnApplyTemplate | |
| Refresh | Refreshes this instance. |
| Setup | Setups this instance. |
| Dispose | Releases unmanaged and - optionally - managed resources. |