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?
A. Inherit the DependencyObject class.You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You write the following code fragment. (Line numbers are included for reference only)

You need to ensure that a video file begins to play only when a user clicks Play. Which code fragment should you insert at line 06?
A. < MediaElement Source="media\ numbers.wmv " Name=" myMediaElement " Width="450" Height="250" LoadedBehavior ="Play" UnloadedBehavior ="Stop" Stretch='Till,,/>You are developing a Microsoft .NET 4 application.
You need to ensure that security error trapping handles transparency violations.
What should you do?
A. Handle all thrown transparency violations explicitly.You are developing a Windows Presentation Foundation (WPF) application. You are implementing a test strategy for the application. You need to ensure that the history of your testing session can be rewound in the execution cycle so that the state of the application and events that occurred previously can be viewed.
What should you use?
A. visual Studio debugger break pointsYou are developing a Windows Presentation Foundation (WPF) application. An event triggers a workflow such that a parent control executes the event handlers before the child controls. You need to ensure that if a parent control's event handler encounters an error, the subsequent handlers are not called.
What should you do?
A. Use handlers for a tunneling routed event and mark the event as handled in the case of a problem.You are developing a Windows Presentation Foundation (WPF) application.
Two styles, Blue and Green, are used for Border objects. The two styles have the same values for the CornerRadius and BrushThickness properties and different values for the Background property.
You need to define the CornerRadius and BrushThickness settings in either the Blue or the Green style, but not both. What should you do?
A. Separate Blue and Green into two files. Put the base settings in Blue and use MergedDictionaries. Ensure that the Blue file is second in the list.You are developing a Windows Presentation Foundation (WPF) application. All of the application styles are in a file named Themes.dll. You have the following markup segment.
BlueBackground is defined in a XAML file named BlueTheme.xaml. The XAML markup is compiled into the Themes.dll file.
You need to ensure that the XAML file is referenced so that the application can apply the settings in the BlueBackground style.
What should you do?
A. Add the following line to Window.Resources.You are developing a Windows Presentation Foundation (WPF) application. You pull employee information from an XML file named EmployeeData.xml. The XML file is as follows.

You need to display all the employee information from the XML file in EmployeeList.
Which markup segment should you use?
You are developing a Windows Presentation Foundation (WPF) application. You configure PresentationTraceSource to track errors in a bound TextBox control in the application.
You need to choose the window that the Trace Information is sent to. Which Visual Studio window should you select?
A. AutosYou are developing a Windows Presentation Foundation (WPF) application. The window has the following markup. (Line numbers are included for reference only.)

You need to ensure that all ListBox controls have a border that matches the background color of the ListBox template.
Which markup segment should you insert at line 15?
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 70-511 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.