mirror of
https://github.com/PacktPublishing/Learn-WinUI-3-Second-Edition.git
synced 2026-06-20 12:23:09 +00:00
Add chapter 10 sample project
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using Microsoft.UI.Xaml.Controls;
|
||||
using Microsoft.UI.Xaml.Navigation;
|
||||
|
||||
namespace TemplateStudioSampleApp.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();
|
||||
}
|
||||
Reference in New Issue
Block a user