Skip to content

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

NameSummary
GetNavigationProvides direct access to the control responsible for navigation.
NavigateLets you navigate to the selected page based on it's type. Should be used with [IPageService](#
SetServiceProviderLets you attach the service provider that delivers page instances to [INavigationView](#
SetPageServiceLets you attach the service that delivers page instances to [INavigationView](#
ShowWindowTriggers the command to open a window.
CloseWindowTriggers the command to close a window.