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?
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?
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