You are designing a Windows Phone 7 application You need to recommend the class

You are designing a windows phone 7 application you

This preview shows page 22 - 25 out of 35 pages.

Question: 53 You are designing a Windows Phone 7 application. You need to recommend the class and property to use to establish the number of touches that a user device can handle at one time. What should you recommend? A. TouchPanelCapabilities.MaximumTouchCount B. TouchCollection.Count C. TouchLocation.State D. GestureSample.GestureType Answer: A Question: 54 You are designing a Windows Phone 7 application. You need to recommend a way to track the movement of a users gestures while the gesture is occurring. Which routed event should you recommend?
Image of page 22
Question: 55 You are designing a Windows Phone 7 application. You need to allow the application to detect a users gestures on the phone screen. What should you recommend? Question: 56 You are designing a Windows Phone 7 application that consists of a single XAML page. A rectangle that is hidden within the page appears as a result of a user action. You need to ensure that the rectangle is hidden and the application remains open when the user presses the Back key. Which code segment should you use?
Image of page 23
Question: 57 You are designing a Windows Phone 7 application that consists of a single XAML page. A rectangle that is hidden within the page appears as a result of a user action. You need to ensure that the rectangle is hidden and the application remains open when the user presses the Back key. Which code segment should you use? A. Protected Overrides Sub OnBackKeyPress( ByVal e As System.ComponentModel.CancelEventArgs) If popUp.Visibility = System.Windows.Visibility.Visible Then e.Cancel = True popUp.Visibility = System.Windows.Visibility.Collapsed End If End Sub B. Sub NavigationService_Navigating(ByVal sender As Object, ByVal e As NavigatingCancelEventArgs) If (e.NavigationMode = NavigationMode.Back) Then e.Cancel = True popUp.Visibility = System.Windows.Visibility.Collapsed End If End Sub C. Protected Overrides Sub OnNavigatingFrom( ByVal e As NavigatingCancelEventArgs) MyBase.OnNavigatingFrom(e) e.Cancel = True
Image of page 24
Image of page 25

You've reached the end of your free preview.

Want to read all 35 pages?

  • Spring '16
  • Windows Vista, Windows Communication Foundation

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture