ViewModelRoutedViewHost class¶
Defined in
Namespace: CrissCross.Avalonia
Assembly: CrissCross.Avalonia.dll
Full name: CrissCross.Avalonia.ViewModelRoutedViewHost
Modifiers: public
Summary¶
ViewModelRoutedViewHost.
Applies to
net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net471
Class hierarchy
classDiagram
class ViewModelRoutedViewHost
class ReactiveTransitioningContentControl
ReactiveTransitioningContentControl <|-- ViewModelRoutedViewHost
class IViewModelRoutedViewHost {
<>
}
IViewModelRoutedViewHost <|.. ViewModelRoutedViewHost
class IActivatableView {
<>
}
IActivatableView <|.. ViewModelRoutedViewHost
class IEnableLogger {
<>
}
IEnableLogger <|.. ViewModelRoutedViewHost
Inherits from: ReactiveTransitioningContentControl
Implements: IViewModelRoutedViewHost, IActivatableView, IEnableLogger
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. |
| Name | Gets or sets the name of the styled element. |
| 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]. |
| StyleKeyOverride | Gets the type by which the element is styled. |
Fields¶
| Name | Summary |
|---|---|
| static CanNavigateBackProperty | The can navigate back 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. |
| Refresh | Refreshes this instance. |
| Setup | Setups this instance. |
| Dispose | Releases unmanaged and - optionally - managed resources. |
Inherited members
CrissCross.Avalonia.ReactiveTransitioningContentControl.DisposeCrissCross.Avalonia.ReactiveTransitioningContentControl.Dispose(System.Boolean)CrissCross.Avalonia.ReactiveTransitioningContentControl.RegisterContentPresenter(Avalonia.Controls.Presenters.ContentPresenter)CrissCross.Avalonia.ReactiveTransitioningContentControl.OnPropertyChanged(Avalonia.AvaloniaPropertyChangedEventArgs)CrissCross.Avalonia.ReactiveTransitioningContentControl.#ctorCrissCross.Avalonia.ReactiveTransitioningContentControl.IsDisposedSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseCloneSystem.Object.ReferenceEquals(System.Object,System.Object)System.Object.ToString