INavigationWindow interface¶
Defined in
Namespace: CrissCross.Avalonia.UI
Assembly: CrissCross.Avalonia.UI.dll
Full name: CrissCross.Avalonia.UI.INavigationWindow
Modifiers: public abstract
Summary¶
Defines a contract for a window that supports navigation between pages using a navigation control and associated
services.
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
Remarks¶
Implementations of this interface provide mechanisms to navigate between pages, manage navigation services, and control the window's visibility. The interface is typically used in applications that require dynamic page navigation, such as multi-page desktop or UI applications.
Methods¶
| Name | Summary |
|---|---|
| GetNavigation | Provides direct access to the control responsible for navigation. |
| Navigate | Lets you navigate to the selected page based on it's type. Should be used with [IPageService](# |
| SetServiceProvider | Lets you attach the service provider that delivers page instances to [INavigationView](# |
| SetPageService | Lets you attach the service that delivers page instances to [INavigationView](# |
| ShowWindow | Triggers the command to open a window. |
| CloseWindow | Triggers the command to close a window. |