private void Goto2(object sender, Windows.UI.Xaml.RoutedEventArgs e) { var app = App.Current as Common.BootStrapper; var nav = app.NavigationService;

Slides:



Advertisements
Similar presentations
1111 Creating ASPX Controls Programatically Objectives You will be able to Dynamically add controls to a page. Dynamically alter properties of controls.
Advertisements

AS3: Events & Listeners eventListeners in ActionScript 3.
Copyright © 2012 Pearson Education, Inc. Chapter 9 Delegates and Events.
WinJS Priorities max: 15 high: 13 aboveNormal: 9 normal: 0 belowNormal: -9 idle: -13 min: -15.
Navigation Model for Windows XAML Applications
CPVR 2013 Tutorial. Native Managed Applications Toolkit Drivers Runtime Skeletal Tracking.
MSDN How do I add Voice Commands to my application Find Install Voice Command Sets Search Search for {dictatedSearchTerms} Find Find.
150K apps: more competition Many devs making money with the Store Takes work to make get more revenue Insights from highest revenue apps Maximize your.
Crossword Puzzle Solver Michael Keefe. Solver structure.
Creating apps that use video and audio
1 CSC241: Object Oriented Programming Lecture No 27.
Android Tutorial Team 3 Jerry Yu Mayank Mandava Mu Du Will Wangles.
Agenda Windows Phone History WP 7.0 Silverlight WP 7.5 Silverlight WP 8.0 Silverlight WP 8.1 Silverlight WP 8.1 WinRT.
“Thanks guys for a great information packed day. head is spinning!” “Well done guys. Intense sessions” “This is the best ever JumpStart that I have.
Combining Calendar into Request Embedding a Deployment Times Calendar into a Request.
Online Service 1. Authorization Request (Start URL) 2. Login page 3. Credentials 4. Authorization page 5. User decision 6. Authorization.
Uwe Habermann Venelina Jordanova Usage of VFP code in the back- end of Silverswitch applications.
Web hosting in app Creating a Windows Store app with web assets.
Presentation. Recap A multi layer architecture powered by Spring Framework, ExtJS, Spring Security and Hibernate. Taken advantage of Spring’s multi layer.
Developer's guide to Windows 10 Insider Preview Andy & Jerry
Windows Phone MVVM and Unit Testing Step by Step Andy Wigley Windows Phone Development MVP, Mobile Software Consultant APPA Mundi Ltd WPH208.
.  A multi layer architecture powered by Spring Framework, ExtJS, Spring Security and Hibernate.  Taken advantage of Spring’s multi layer injection.
User Experience & Interface (UXI) Proprietary & Confidential 7/13/2014 DBS UXI Strategy Aaron Case.

CS-1020 Dr. Mark L. Hornick 1 Event-Driven Programming.
Applications with Multiple Activities. Most applications will have more than one activity. The main activity is started when the application is started.
Class and Structure. 2 Structure Declare using the keyword struct purpose is to group data Default visibility mode is public A struct doesn't have a constructor.
C# - FCL/Form & Control Validation John Kelleher.
CIS Intro to JAVA Lecture Notes Set 8 9-June-05.
Created by Alia Al-Abdulkarim 2008 Visual Basic Vs. Java.
Android Application Lifecycle and Menus
Overview of Previous Lesson(s) Over View  ASP is a technology that enables scripts in web pages to be executed by an Internet server.  ASP.NET is a.
Integral Users will interact with your app on a big screen with keyboard and mouse.
33) static void Main() { Action operations = MathOperations.MultiplyByTwo; operations += MathOperations.Square; ProcessAndDisplayNumber(operations, 2.0);
3/3/2016 EEC492/693/793 - iPhone Application Development 1 EEC-693/793 Applied Computer Vision with Depth Cameras Lecture 4 Wenbing Zhao
User Interface Layout Interaction. EventsEvent Handlers/Listeners Interacting with a user.
private void page2Button_Click(object sender, RoutedEventArgs e) { NavigationService.Navigate(new Uri("/PageTwo.xaml", UriKind.RelativeOrAbsolute));
12 Copyright © 2004, Oracle. All rights reserved. Using ADF Struts Components.
Lecture 6: Process and Threads Topics: Process, Threads, Worker Thread, Async Task Date: Mar 1, 2016.
18 th May 2014 – DNN 2014 Connect – Italy Improve Performance Responsive Images James Rosewell.
Developing for Chromecast Cast Companion Library & Custom Receiver Application.
School of Engineering and Information and Communication Technology KIT305/KIT607 Mobile Application Development Android OS –Permissions (cont.), Fragments,
Vaughan Knight App Ecosystem Lead Microsoft FileOpenPicke r, FileSavePicker Read/Write access to SD card Appointments /Calendar API enhancements Appointments.
UX/UI changes for Windows 10 apps
Concurrency in Android
Objectives Create a folder in Google Drive.
Computing with C# and the .NET Framework
Windows Developer Day Fall Creators Update Chris Cortes
Lecture 6: Process, Thread, Task
Reactive Android Development
What’s New in Accessibility (for Developers and Users)
Mobile App ux/ ui design In High Quality.
CIS 470 Mobile App Development
EEC-693/793 Applied Computer Vision with Depth Cameras
null, true, and false are also reserved.
Metro style apps using XAML: Make your app shine
EEC-693/793 Applied Computer Vision with Depth Cameras
Windows Runtime App Lifecycle
Android Topics UI Thread and Limited processing resources
Page Navigation and Data Binding in Windows Runtime Apps
EEC-693/793 Applied Computer Vision with Depth Cameras
EEC-693/793 Applied Computer Vision with Depth Cameras
4/9/ | Contracts © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Eighth step for Learning C++ Programming
EEC-693/793 Applied Computer Vision with Depth Cameras
Chapter 13: Handling Events
Lecture 6: Process, Thread, Task
Activities and Fragments
CIS 470 Mobile App Development
Events, Delegates, and Lambdas
Presentation transcript:

private void Goto2(object sender, Windows.UI.Xaml.RoutedEventArgs e) { var app = App.Current as Common.BootStrapper; var nav = app.NavigationService; nav.Navigate(typeof(Views.Page2), "My parameter value"); }

public override void OnNavigatedTo(string parameter, NavigationMode mode, IDictionary state) { this.Parameter = parameter?.ToString() ?? "Empty"; }

if (Frame.CanGoBack) { // Setting this visible is ignored on Mobile and when in tablet mode! Windows.UI.Core.SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility = AppViewBackButtonVisibility.Visible; } if (Frame.CanGoBack) { // Setting this visible is ignored on Mobile and when in tablet mode! Windows.UI.Core.SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility = AppViewBackButtonVisibility.Visible; }

If the user has nowhere to go back to, remove the back button from your UI

Windows.UI.Core.SystemNavigationManager.GetForCurrentView().BackRequested += OnBackRequested;

protected override void OnLaunched(LaunchActivatedEventArgs e) {... // Handle Back Requests SystemNavigationManager.GetForCurrentView().BackRequested += App_BackRequested; } public event EventHandler OnBackRequested; private void App_BackRequested(object sender, BackRequestedEventArgs e) { if (OnBackRequested != null) { OnBackRequested(this, e); } // Check that no-one has already handled this if (!e.Handled) { // Default is to navigate back within the Frame Frame frame = Window.Current.Content as Frame; if (frame.CanGoBack) { frame.GoBack(); // Signal handled so that system doesn't navigate back through app stack e.Handled = true; }