SUMMARY

In this chapter, you were introduced to the Silverlight for Windows Phone Toolkit as well as the Panorama control from the Windows Phone SDK. The toolkit provides several powerful controls in addition to the standard SDK controls. You saw how easy it is to add Google-type autocomplete functionality to your application by using the AutoCompleteBox control. You also saw how to enable users to easily choose dates and times by using the DatePicker and TimePicker controls. Next, you learned how to add fluid page transition effects to your multi-page applications by using TransitionService and transition effects.

You also learned about the GestureService and learned to easily detect various gestures, such as Flick, DoubleTap, Drag, Pinch, and Hold, by just listening for various events in the code-behind file.

Finally, you used the Panorama control to display a long horizontal user interface consisting of multiple category displays. The Panorama control took care of making sure each category page transitioned smoothly with a simple Flick gesture.

EXERCISES

  1. True or False: PhoneApplicationFrame provides full support for page transitions.
  2. Which of the following are valid gestures that GestureService supports (Choose all that apply.)
    1. Flick
    2. Press
    3. Drag
    4. Close
  3. Which event can you listen for in the code-behind file to determine what item being displayed by the AutoCompleteBox control was selected by the user?
  4. What transition types does the Silverlight for Windows Phone Toolkit support? ...

Get Beginning Windows® Phone 7 Application Development: Building Windows® Phone Applications Using Silverlight® and XNA® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.