SlideShare a Scribd company logo
“Discover Windows Phone”
development series
02. Page Navigation
Yasmine Abdelhady
@yasabdelhady
Yasmine.Abdelhady@Hotmail.com

© Yasmine Abdelhady| MEA DPE Intern
Agenda

© Yasmine Abdelhady| MEA DPE Intern

 Simple Page Navigation
Why is it
important?

© Yasmine Abdelhady| MEA DPE Intern

 Page Navigation:
1. because you don’t want to build your project based on only one
page
 2. because you can make use that your application will
automatically be able to leverage the phone's built-in hardware
back button.
Simple
Navigation

© Yasmine Abdelhady| MEA DPE Intern

 We have multiple pages, and we want to give the user a way to get
between them. Let's build a simple navigation UI that will allow us
to do just that.
 we've created a default Windows Phone Application, let's open it.

1.

© Yasmine Abdelhady| MEA DPE Intern

 Open the application from where you saved it last time. (Probably
it will be in Documents>Visual Studio 2013>Projects
2.

Right Click on the Project in the Solution Explorer>Add>New Item

© Yasmine Abdelhady| MEA DPE Intern
3.

(Under Windows Phone on the left pane) Windows Phone Portrait Page. Name it
Meals.xaml

© Yasmine Abdelhady| MEA DPE Intern
4&5

4. Change page's title, so we know we're on each page. Look for the XAML
Textblock element with Text "page name" to "Meals“
5. Repeat step 3 and 4 with page name Beverages.xaml and page name
"Beverages".
© Yasmine Abdelhady| MEA DPE Intern
6.

Go back to MainPage.xaml and also change "page name" to "Main Page".

© Yasmine Abdelhady| MEA DPE Intern
7.

Add 2 buttons in the MainPage.xaml by dragging the "Button" control from
the Toolbox window to the MainPage designer view.

© Yasmine Abdelhady| MEA DPE Intern
8.

Change the text that appears on each button by going to the Properties
windows on the left. Under Common, change Content from "button" to
Meals. Do the same to button 2 and change Content to "Beverages". Also
change the name of each button from the same properties window as
shown. Change names to "button_meals" and "button_beverages".
© Yasmine Abdelhady| MEA DPE Intern
9.

Add a Click event to the button, that when you click on the button a special
event happens, which in our case is to navigate to a specific page. To do
this, double click on the button itself in the design view and it will
automatically create an event handler and take you to the C# page where
you write what happens when the button is clicked. Do the same click to the
second button.
10.

Now is finally time to write the statement of navigation to another page.
for button_meals
NavigationService.Navigate( new Uri("/Meals.xaml", UriKind.Relative));
And for button_beverages
NavigationService.Navigate( new Uri("/Beverages.xaml", UriKind.Relative));
@yasabdelhady

yasmine.Abdelhady@Hotmail.com

Thank you 
yasabdelhady.wordpress.com

Facebook.com/yasabdelhady

© Yasmine Abdelhady| MEA DPE Intern

More Related Content

What's hot

7 steps to get free traffic to your blogspot blog
7 steps to get free traffic to your blogspot blog7 steps to get free traffic to your blogspot blog
7 steps to get free traffic to your blogspot blog
Cloudko
 
How to make ... Cincopa
How to make ... CincopaHow to make ... Cincopa
How to make ... Cincopa
Joanna Soltysiak
 
Android tutorials6 run_your_app
Android tutorials6 run_your_appAndroid tutorials6 run_your_app
Android tutorials6 run_your_appVlad Kolesnyk
 
Google Drive Integration in Odoo
Google Drive Integration in OdooGoogle Drive Integration in Odoo
Google Drive Integration in Odoo
Anisha Technaureus
 
812 wordpress tablet
812 wordpress tablet812 wordpress tablet
812 wordpress tablet
Satoru Hoshiba
 
Introduction to smore
Introduction to smoreIntroduction to smore
Introduction to smore
KressL
 
Slidely how to
Slidely how to Slidely how to
Slidely how to
Joanna Soltysiak
 
Social media white
Social media whiteSocial media white
Social media white
DWhite94
 
LAYOUT-New Application From Instagram
LAYOUT-New Application From InstagramLAYOUT-New Application From Instagram
LAYOUT-New Application From Instagram
Sue B Zimmerman Enterprise
 
I pad 101 official
I pad 101 officialI pad 101 official
I pad 101 officialcoleman493
 
How to add clickable links to slideshare
How to add clickable links to slideshareHow to add clickable links to slideshare
How to add clickable links to slideshareChris Humphreys
 
Moca - Accessible Mockups
Moca - Accessible MockupsMoca - Accessible Mockups
Moca - Accessible Mockups
Mesut Yılmaz
 
Zapier: A Big thing for your Business
Zapier: A Big thing for your BusinessZapier: A Big thing for your Business
Zapier: A Big thing for your Business
Mafel Gorne
 
Getting started
Getting started Getting started
Getting started
Lynnette Humphrey
 

What's hot (18)

7 steps to get free traffic to your blogspot blog
7 steps to get free traffic to your blogspot blog7 steps to get free traffic to your blogspot blog
7 steps to get free traffic to your blogspot blog
 
Google Apps Overview
Google Apps OverviewGoogle Apps Overview
Google Apps Overview
 
How to make ... Cincopa
How to make ... CincopaHow to make ... Cincopa
How to make ... Cincopa
 
Android tutorials6 run_your_app
Android tutorials6 run_your_appAndroid tutorials6 run_your_app
Android tutorials6 run_your_app
 
Google Drive Integration in Odoo
Google Drive Integration in OdooGoogle Drive Integration in Odoo
Google Drive Integration in Odoo
 
812 wordpress tablet
812 wordpress tablet812 wordpress tablet
812 wordpress tablet
 
Introduction to smore
Introduction to smoreIntroduction to smore
Introduction to smore
 
Slidely how to
Slidely how to Slidely how to
Slidely how to
 
Social media white
Social media whiteSocial media white
Social media white
 
Untitled
UntitledUntitled
Untitled
 
LAYOUT-New Application From Instagram
LAYOUT-New Application From InstagramLAYOUT-New Application From Instagram
LAYOUT-New Application From Instagram
 
Fırat uğuroğlu 20100723
Fırat uğuroğlu 20100723Fırat uğuroğlu 20100723
Fırat uğuroğlu 20100723
 
I pad 101 official
I pad 101 officialI pad 101 official
I pad 101 official
 
How to add clickable links to slideshare
How to add clickable links to slideshareHow to add clickable links to slideshare
How to add clickable links to slideshare
 
Moca - Accessible Mockups
Moca - Accessible MockupsMoca - Accessible Mockups
Moca - Accessible Mockups
 
Zapier: A Big thing for your Business
Zapier: A Big thing for your BusinessZapier: A Big thing for your Business
Zapier: A Big thing for your Business
 
Getting started
Getting started Getting started
Getting started
 
Int d 3
Int d 3Int d 3
Int d 3
 

Viewers also liked

Presentación detallada HallTech
Presentación detallada HallTechPresentación detallada HallTech
Presentación detallada HallTech
richardhh
 
Manejo de equipo de activo fijo
Manejo de equipo de activo fijoManejo de equipo de activo fijo
Manejo de equipo de activo fijo
cibg
 
Congreso Actualización - Carrera en AUPSA
Congreso Actualización - Carrera en AUPSACongreso Actualización - Carrera en AUPSA
Congreso Actualización - Carrera en AUPSA
Aoduber
 
Reino animal
Reino animalReino animal
Reino animal
Joel Ruíz
 
Rk village plaza 180th
Rk village plaza   180thRk village plaza   180th
Rk village plaza 180th
RK Centers
 
Api 581 sec.3 nivel 2 areas de consecuencias
Api 581 sec.3 nivel 2 areas de consecuenciasApi 581 sec.3 nivel 2 areas de consecuencias
Api 581 sec.3 nivel 2 areas de consecuencias
adan gonzalez torres
 
mFLOR. Presentación técnica
mFLOR. Presentación técnicamFLOR. Presentación técnica
mFLOR. Presentación técnica
gusserrano
 
TGS AME Namibia N2R93RE15 2D
TGS AME Namibia N2R93RE15 2DTGS AME Namibia N2R93RE15 2D
TGS AME Namibia N2R93RE15 2D
TGS
 
Planeta oroneta presentació crevillent 2015
Planeta oroneta presentació crevillent 2015Planeta oroneta presentació crevillent 2015
Planeta oroneta presentació crevillent 2015
Jesús Martínez Vargas
 
La Digestión Anaerobia como parte medular de la sustentabilidad ambiental
La Digestión Anaerobia como parte medular de la sustentabilidad ambientalLa Digestión Anaerobia como parte medular de la sustentabilidad ambiental
La Digestión Anaerobia como parte medular de la sustentabilidad ambiental
Academia de Ingeniería de México
 
Annexes 050 meteo
Annexes 050 meteoAnnexes 050 meteo
Annexes 050 meteoESTEL ,asn
 
Sabidura perenne
Sabidura perenneSabidura perenne
Sabidura perenne
Renato Alejandro Huerta
 
Ntc 1692 peligrosos
Ntc 1692 peligrososNtc 1692 peligrosos
Ntc 1692 peligrososAeroux
 
Sistema de transporte de datos sobre redes inalambricas WLAN
Sistema de transporte de datos sobre redes inalambricas WLANSistema de transporte de datos sobre redes inalambricas WLAN
Sistema de transporte de datos sobre redes inalambricas WLANdegarden
 
How to test OpenGL drivers using Free Software (FOSDEM 2015)
How to test OpenGL drivers using Free Software (FOSDEM 2015)How to test OpenGL drivers using Free Software (FOSDEM 2015)
How to test OpenGL drivers using Free Software (FOSDEM 2015)
Igalia
 
Juego de la vida y como jugarlo
Juego de la vida y como jugarloJuego de la vida y como jugarlo
Juego de la vida y como jugarlo
Glayde Calher
 
Tutorial unad sobre el plagio (Flor Posada Parada)
Tutorial unad sobre el plagio (Flor Posada Parada)Tutorial unad sobre el plagio (Flor Posada Parada)
Tutorial unad sobre el plagio (Flor Posada Parada)
Flor Yamile Posada Parada
 
Osver ticle
Osver ticleOsver ticle
Osver ticle
osver
 
Digital Analytics - Fluch oder Segen der Digitalisierung?
Digital Analytics - Fluch oder Segen der Digitalisierung?Digital Analytics - Fluch oder Segen der Digitalisierung?
Digital Analytics - Fluch oder Segen der Digitalisierung?
Hochschule Luzern
 

Viewers also liked (20)

Presentación detallada HallTech
Presentación detallada HallTechPresentación detallada HallTech
Presentación detallada HallTech
 
Herbst 2010
Herbst 2010Herbst 2010
Herbst 2010
 
Manejo de equipo de activo fijo
Manejo de equipo de activo fijoManejo de equipo de activo fijo
Manejo de equipo de activo fijo
 
Congreso Actualización - Carrera en AUPSA
Congreso Actualización - Carrera en AUPSACongreso Actualización - Carrera en AUPSA
Congreso Actualización - Carrera en AUPSA
 
Reino animal
Reino animalReino animal
Reino animal
 
Rk village plaza 180th
Rk village plaza   180thRk village plaza   180th
Rk village plaza 180th
 
Api 581 sec.3 nivel 2 areas de consecuencias
Api 581 sec.3 nivel 2 areas de consecuenciasApi 581 sec.3 nivel 2 areas de consecuencias
Api 581 sec.3 nivel 2 areas de consecuencias
 
mFLOR. Presentación técnica
mFLOR. Presentación técnicamFLOR. Presentación técnica
mFLOR. Presentación técnica
 
TGS AME Namibia N2R93RE15 2D
TGS AME Namibia N2R93RE15 2DTGS AME Namibia N2R93RE15 2D
TGS AME Namibia N2R93RE15 2D
 
Planeta oroneta presentació crevillent 2015
Planeta oroneta presentació crevillent 2015Planeta oroneta presentació crevillent 2015
Planeta oroneta presentació crevillent 2015
 
La Digestión Anaerobia como parte medular de la sustentabilidad ambiental
La Digestión Anaerobia como parte medular de la sustentabilidad ambientalLa Digestión Anaerobia como parte medular de la sustentabilidad ambiental
La Digestión Anaerobia como parte medular de la sustentabilidad ambiental
 
Annexes 050 meteo
Annexes 050 meteoAnnexes 050 meteo
Annexes 050 meteo
 
Sabidura perenne
Sabidura perenneSabidura perenne
Sabidura perenne
 
Ntc 1692 peligrosos
Ntc 1692 peligrososNtc 1692 peligrosos
Ntc 1692 peligrosos
 
Sistema de transporte de datos sobre redes inalambricas WLAN
Sistema de transporte de datos sobre redes inalambricas WLANSistema de transporte de datos sobre redes inalambricas WLAN
Sistema de transporte de datos sobre redes inalambricas WLAN
 
How to test OpenGL drivers using Free Software (FOSDEM 2015)
How to test OpenGL drivers using Free Software (FOSDEM 2015)How to test OpenGL drivers using Free Software (FOSDEM 2015)
How to test OpenGL drivers using Free Software (FOSDEM 2015)
 
Juego de la vida y como jugarlo
Juego de la vida y como jugarloJuego de la vida y como jugarlo
Juego de la vida y como jugarlo
 
Tutorial unad sobre el plagio (Flor Posada Parada)
Tutorial unad sobre el plagio (Flor Posada Parada)Tutorial unad sobre el plagio (Flor Posada Parada)
Tutorial unad sobre el plagio (Flor Posada Parada)
 
Osver ticle
Osver ticleOsver ticle
Osver ticle
 
Digital Analytics - Fluch oder Segen der Digitalisierung?
Digital Analytics - Fluch oder Segen der Digitalisierung?Digital Analytics - Fluch oder Segen der Digitalisierung?
Digital Analytics - Fluch oder Segen der Digitalisierung?
 

Similar to "Discover windows phone" 02. page navigation

"Discover windows phone" 05. Application Bar
"Discover windows phone" 05. Application Bar"Discover windows phone" 05. Application Bar
"Discover windows phone" 05. Application BarYasmine Abdelhady
 
Gl13 m2-c1-presentation
Gl13 m2-c1-presentationGl13 m2-c1-presentation
Gl13 m2-c1-presentation
Tracie King
 
Web dynpro for abap
Web dynpro for abapWeb dynpro for abap
Web dynpro for abap
Gabriel Magalhães
 
"Discover windows phone" 04. The back button
"Discover windows phone"  04. The back button"Discover windows phone"  04. The back button
"Discover windows phone" 04. The back buttonYasmine Abdelhady
 
How to Create Your First Android App Step by Step.pdf
How to Create Your First Android App Step by Step.pdfHow to Create Your First Android App Step by Step.pdf
How to Create Your First Android App Step by Step.pdf
BOSC Tech Labs
 
Girl Scouts Website Designer Badge Seminar - Workbook
Girl Scouts Website Designer Badge Seminar - WorkbookGirl Scouts Website Designer Badge Seminar - Workbook
Girl Scouts Website Designer Badge Seminar - Workbook
Lauren Hayward Schaefer
 
Software engineering modeling lab lectures
Software engineering modeling lab lecturesSoftware engineering modeling lab lectures
Software engineering modeling lab lectures
marwaeng
 
Creating simple comp
Creating simple compCreating simple comp
Creating simple compKranthi Kumar
 
hopTo Work Step by Step Test Drive
hopTo Work Step by Step Test DrivehopTo Work Step by Step Test Drive
hopTo Work Step by Step Test Drive
hopTo
 
Mobile Devices Step By Step.
Mobile Devices Step By Step.Mobile Devices Step By Step.
Mobile Devices Step By Step.Jason Wendt
 
Mobile Devices Step By Step.
Mobile Devices Step By Step.Mobile Devices Step By Step.
Mobile Devices Step By Step.Jason Wendt
 
Appy builder beginner tutorial
Appy builder beginner tutorialAppy builder beginner tutorial
Appy builder beginner tutorial
HabibulHakam
 
Create yourfirstandroidapppdf
Create yourfirstandroidapppdfCreate yourfirstandroidapppdf
Create yourfirstandroidapppdfmurad3003
 
Easyweb demonstration scenario : What's Easyweb?
Easyweb  demonstration scenario : What's Easyweb?Easyweb  demonstration scenario : What's Easyweb?
Easyweb demonstration scenario : What's Easyweb?
Dong Nguyen
 
Week 1 lesson 4 for Intro to tech class
Week 1 lesson 4 for Intro to tech classWeek 1 lesson 4 for Intro to tech class
Week 1 lesson 4 for Intro to tech class
rdubroy
 
Windows7tipstrickspptversion 12599513345858-phpapp01
Windows7tipstrickspptversion 12599513345858-phpapp01Windows7tipstrickspptversion 12599513345858-phpapp01
Windows7tipstrickspptversion 12599513345858-phpapp01
Ramprakash Kumar
 
Windows 7 Tips Tricks Ppt Version
Windows 7 Tips Tricks Ppt VersionWindows 7 Tips Tricks Ppt Version
Windows 7 Tips Tricks Ppt Version
john weston
 
A Primavera Tutorial
A Primavera TutorialA Primavera Tutorial
A Primavera Tutorial
Aaron Anyaakuu
 

Similar to "Discover windows phone" 02. page navigation (20)

"Discover windows phone" 05. Application Bar
"Discover windows phone" 05. Application Bar"Discover windows phone" 05. Application Bar
"Discover windows phone" 05. Application Bar
 
Introduction
IntroductionIntroduction
Introduction
 
Gl13 m2-c1-presentation
Gl13 m2-c1-presentationGl13 m2-c1-presentation
Gl13 m2-c1-presentation
 
Web dynpro for abap
Web dynpro for abapWeb dynpro for abap
Web dynpro for abap
 
"Discover windows phone" 04. The back button
"Discover windows phone"  04. The back button"Discover windows phone"  04. The back button
"Discover windows phone" 04. The back button
 
How to Create Your First Android App Step by Step.pdf
How to Create Your First Android App Step by Step.pdfHow to Create Your First Android App Step by Step.pdf
How to Create Your First Android App Step by Step.pdf
 
Girl Scouts Website Designer Badge Seminar - Workbook
Girl Scouts Website Designer Badge Seminar - WorkbookGirl Scouts Website Designer Badge Seminar - Workbook
Girl Scouts Website Designer Badge Seminar - Workbook
 
Software engineering modeling lab lectures
Software engineering modeling lab lecturesSoftware engineering modeling lab lectures
Software engineering modeling lab lectures
 
Creating a comp
Creating a compCreating a comp
Creating a comp
 
Creating simple comp
Creating simple compCreating simple comp
Creating simple comp
 
hopTo Work Step by Step Test Drive
hopTo Work Step by Step Test DrivehopTo Work Step by Step Test Drive
hopTo Work Step by Step Test Drive
 
Mobile Devices Step By Step.
Mobile Devices Step By Step.Mobile Devices Step By Step.
Mobile Devices Step By Step.
 
Mobile Devices Step By Step.
Mobile Devices Step By Step.Mobile Devices Step By Step.
Mobile Devices Step By Step.
 
Appy builder beginner tutorial
Appy builder beginner tutorialAppy builder beginner tutorial
Appy builder beginner tutorial
 
Create yourfirstandroidapppdf
Create yourfirstandroidapppdfCreate yourfirstandroidapppdf
Create yourfirstandroidapppdf
 
Easyweb demonstration scenario : What's Easyweb?
Easyweb  demonstration scenario : What's Easyweb?Easyweb  demonstration scenario : What's Easyweb?
Easyweb demonstration scenario : What's Easyweb?
 
Week 1 lesson 4 for Intro to tech class
Week 1 lesson 4 for Intro to tech classWeek 1 lesson 4 for Intro to tech class
Week 1 lesson 4 for Intro to tech class
 
Windows7tipstrickspptversion 12599513345858-phpapp01
Windows7tipstrickspptversion 12599513345858-phpapp01Windows7tipstrickspptversion 12599513345858-phpapp01
Windows7tipstrickspptversion 12599513345858-phpapp01
 
Windows 7 Tips Tricks Ppt Version
Windows 7 Tips Tricks Ppt VersionWindows 7 Tips Tricks Ppt Version
Windows 7 Tips Tricks Ppt Version
 
A Primavera Tutorial
A Primavera TutorialA Primavera Tutorial
A Primavera Tutorial
 

Recently uploaded

Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
ThomasParaiso2
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
Pixlogix Infotech
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
Rohit Gautam
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 

Recently uploaded (20)

Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 

"Discover windows phone" 02. page navigation

  • 1. “Discover Windows Phone” development series 02. Page Navigation Yasmine Abdelhady @yasabdelhady Yasmine.Abdelhady@Hotmail.com © Yasmine Abdelhady| MEA DPE Intern
  • 2. Agenda © Yasmine Abdelhady| MEA DPE Intern  Simple Page Navigation
  • 3. Why is it important? © Yasmine Abdelhady| MEA DPE Intern  Page Navigation: 1. because you don’t want to build your project based on only one page  2. because you can make use that your application will automatically be able to leverage the phone's built-in hardware back button.
  • 4. Simple Navigation © Yasmine Abdelhady| MEA DPE Intern  We have multiple pages, and we want to give the user a way to get between them. Let's build a simple navigation UI that will allow us to do just that.
  • 5.  we've created a default Windows Phone Application, let's open it. 1. © Yasmine Abdelhady| MEA DPE Intern  Open the application from where you saved it last time. (Probably it will be in Documents>Visual Studio 2013>Projects
  • 6. 2. Right Click on the Project in the Solution Explorer>Add>New Item © Yasmine Abdelhady| MEA DPE Intern
  • 7. 3. (Under Windows Phone on the left pane) Windows Phone Portrait Page. Name it Meals.xaml © Yasmine Abdelhady| MEA DPE Intern
  • 8. 4&5 4. Change page's title, so we know we're on each page. Look for the XAML Textblock element with Text "page name" to "Meals“ 5. Repeat step 3 and 4 with page name Beverages.xaml and page name "Beverages". © Yasmine Abdelhady| MEA DPE Intern
  • 9. 6. Go back to MainPage.xaml and also change "page name" to "Main Page". © Yasmine Abdelhady| MEA DPE Intern
  • 10. 7. Add 2 buttons in the MainPage.xaml by dragging the "Button" control from the Toolbox window to the MainPage designer view. © Yasmine Abdelhady| MEA DPE Intern
  • 11. 8. Change the text that appears on each button by going to the Properties windows on the left. Under Common, change Content from "button" to Meals. Do the same to button 2 and change Content to "Beverages". Also change the name of each button from the same properties window as shown. Change names to "button_meals" and "button_beverages". © Yasmine Abdelhady| MEA DPE Intern
  • 12. 9. Add a Click event to the button, that when you click on the button a special event happens, which in our case is to navigate to a specific page. To do this, double click on the button itself in the design view and it will automatically create an event handler and take you to the C# page where you write what happens when the button is clicked. Do the same click to the second button.
  • 13. 10. Now is finally time to write the statement of navigation to another page. for button_meals NavigationService.Navigate( new Uri("/Meals.xaml", UriKind.Relative)); And for button_beverages NavigationService.Navigate( new Uri("/Beverages.xaml", UriKind.Relative));