Which actions should you perform?
You are designing a Windows Phone 7 application. The application must continually perform calculations and update the UI while a user is interacting with the application. You need to ensure that the UI is always able to respond to user input. Which actions should you perform? (Each correct answer presents part of the solution. Choose all that apply.)
What should you recommend?
You are designing a Windows Phone 7 application. The application requires an animation that moves a UIElement object on the screen from point A to point B. You need to ensure that the animation does not impact the performance of the application. What should you recommend?
Which style resource should you recommend?
You are designing a Windows Phone 7 application.
You need to ensure that a selected item in a ListBox control matches the selected color of the current device system theme.
Which style resource should you recommend?
Which class should you recommend to prevent the exception?
You are designing a Windows Phone 7 application that uses a timer. The application throws an exception when trying to update the UI from a thread other than the UI thread. You need to ensure that the timer updates on the UI thread. Which class should you recommend to prevent the exception?
What should you recommend?
You are designing a Windows Phone 7 application. The application downloads data from a companys web pages. The UI is not responding while downloading this data. You need to recommend an update to the application to prevent it from being unresponsive while downloading data. What should you recommend?
Which actions should you perform?
You are designing a Windows Phone 7 application that consists of two PhoneApplicationPage objects. The application must take data entered by a user on the first page and pass the data to the second page for display purposes. You need to ensure that user data is passed properly from the first page and retrieved on the second page. Which actions should you perform? (Each correct answer presents part of the solution. Choose all that apply.)
Which code segment should you recommend for the main page?
You are designing a Windows Phone 7 application that contains a Pivot page.
The Pivot page contains the following code.
Protected Overrides Sub OnNavigatedTo(
ByVal e As System.Windows.Navigation.NavigationEventArgs) Dim index As Integer =
Convert.ToInt32(NavigationContext.QueryString(“index”)) pivot1.SelectedIndex = index
MyBase.OnNavigatedTo(e)
End Sub
You need to ensure that navigation between the main page and the Pivot page works without runtime errors. Which code segment should you recommend for the main page?
Which code segment should you recommend for the main page?
You are designing a Windows Phone 7 application that contains a Pivot page. The Pivot page contains the following code.
protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e) {
int index = Convert.ToInt32(NavigationContext.QueryString[“index”]); pivot1.SelectedIndex = index;
base.OnNavigatedTo(e);
}
You need to ensure that navigation between the main page and the Pivot page works without runtime errors.
Which code segment should you recommend for the main page?
Which code segment should you use?
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?
Which code segment should you use?
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?