WIn_RustTools/RustTools/Contracts/Services/INavigationService.cs

24 lines
405 B
C#
Raw Normal View History

2024-07-14 11:24:10 +00:00
using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml.Navigation;
namespace RustTools.Contracts.Services;
public interface INavigationService
{
event NavigatedEventHandler Navigated;
bool CanGoBack
{
get;
}
Frame? Frame
{
get; set;
}
bool NavigateTo(string pageKey, object? parameter = null, bool clearNavigation = false);
bool GoBack();
}