What should you do?
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You discover that when the application runs, a user control is not rendered correctly.
You need to find out the user interface (UI) element of the window that is causing the rendering problem.
What should you do?
What should you do?
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
The application includes a function that is triggered by filling out a form and by clicking a button.
Currently, the application is tested manually.
You need to create an automated and iterative process to test the application.
What should you do?
What should you do?
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation
Foundation (WPF) application.
You plan to implement a test strategy for the application.
You need to ensure that the test strategy meets the following requirements:
* Test data can be added to the test project without recompiling.
* Multiple variations of a test can be executed at run time.
What should you do?
What should you do?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You add a property named ServiceContext to a control.
You need the value of ServiceContext to flow to the child controls exactly like the value of the DataContext property of the FrameworkElement class.
What should you do?
What should you do?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You create a custom control named Wheel.
You need to ensure that the Speed property of Wheel can be animated.
What should you do?
Which code fragment should you use?
You use Microsoft .NET Framework 4 to create a Windows application that can execute on client computers that run Windows Vista.
You are creating a User Account Control (UAC) application manifest for the application.
You need to ensure that users who are members of the local Administrators group do not receive a UAC prompt when the application executes.
Which code fragment should you use?
What should you do?
You use Microsoft .NET Framework 4 to create a Windows Forms application.
The application includes a RichTextBox control and a ListBox control. The ListBox control is populated with a list of valid file names.
The application allows users to drag a ListBox item to the RichTextBox control.
You need to provide a visual indication that a file that is dragged can be dropped on the RichTextBox control.
What should you do?
Which enumeration member should you use?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
The application uses the drag-and-drop functionality.
You need to ensure that the drag-and-drop operation is stopped when a user moves the cursor outside the boundaries of the application form.
Which enumeration member should you use?
Which file should you add to the project?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You want to localize the application to use the German locale settings.
You need to allow the ResourceManager class to retrieve a neutral German locale version of the text to be displayed in the user interface (UI).
Which file should you add to the project?
Which two actions should you perform?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
The application uses the background worker process (BWP).
When the user clicks a button,
* the background worker executes a method named DoCalculations asynchronously.
* You need to implement a progress bar on the user interface (UI) that informs the user of the progress of DoCalculations.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)