Added navigation logic
This commit is contained in:
@@ -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