Added navigation logic
This commit is contained in:
@@ -1,10 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FoxTube.Core.Models
|
||||
namespace FoxTube.Core.Models
|
||||
{
|
||||
public interface IRefreshable
|
||||
{
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
using Windows.UI.Xaml.Controls;
|
||||
using Windows.UI.Xaml.Navigation;
|
||||
|
||||
namespace FoxTube.Core.Models
|
||||
{
|
||||
public class PageView : Page
|
||||
{
|
||||
public string Header { get; set; }
|
||||
public object Parameter { get; private set; }
|
||||
|
||||
protected override void OnNavigatedTo(NavigationEventArgs e)
|
||||
{
|
||||
base.OnNavigatedTo(e);
|
||||
Parameter = e.Parameter;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user