Interface INavigationService
- Namespace
- Icy.Navigation
- Assembly
- IcyUI.dll
public interface INavigationService
- Extension Methods
Properties
CurrentPage
Page? CurrentPage { get; }
Property Value
Methods
Clear()
Clears the back/forward history and the frame's current content.
void Clear()
Navigate(string)
Loads the page at path through the asset pipeline and navigates to it.
Page? Navigate(string path)
Parameters
Returns
NavigateTo(Page)
Navigates to an already-constructed page instance.
Page NavigateTo(Page page)
Parameters
pagePageThe page to navigate to.
Returns
- Page
page, or the frame's unchanged CurrentPage if a Navigating handler canceled the navigation.
TryNavigateBack()
Navigates to the previous page in the back history, if any.
Page? TryNavigateBack()
Returns
TryNavigateNext()
Navigates to the next page in the forward history, if any.
Page? TryNavigateNext()
Returns
Events
Navigating
Occurs before a navigation takes effect. Setting Cancel leaves the frame showing whatever it already was.
event EventHandler<NavigationEventArgs>? Navigating