More Related Content
Similar to "Discover windows phone" 04. The back button
Similar to "Discover windows phone" 04. The back button (20)
"Discover windows phone" 04. The back button
- 2. How the back button works?
Agenda
© Yasmine Abdelhady| MEA DPE Intern
Overriding the back button
- 3. How the Back
Button Works
© Yasmine Abdelhady| MEA DPE Intern
Think of the Back button much like the one in your browser. You
can click it to navigate backwards through the history of decisions
you have made in that session. It takes you across multiple sites,
and every page you visited within those sites. The Back button on
a Windows Phone works the same way. It will take you backwards
through the pages you have visited, even across multiple
applications!
- 4. Open the People hub.
Select a friend from our list of contacts.
Click on you're friends website
Hit the Start button.
Example
Open another application.
When we hit the back button, we will navigate backwards
through the previous list of events.
© Yasmine Abdelhady| MEA DPE Intern
- 5. Overriding the
Back Button
© Yasmine Abdelhady| MEA DPE Intern
In some cases, overriding the back button is needed. In Windows
Phone development you can override the Back button to make it
do what you want. In any case where you want to override the
back button, you should be certain you’re considering what your
user considers “back.”