You are developing a Windows Presentation Foundation (WPF) application. You have a class named Orders, which contains OrderId and ShipOn properties. You place a control in the MainWindow.xaml file, as follows. (Line numbers are included for reference only.)

When you run the application, the ComboBox control displays the class name for every row.
You need to ensure that the ComboBox control displays the Orderld and ShipOn values in columns.
Which markup segment should you add at line 03?
You have a method named Method1. Method1 accepts a string parameter named param1.
Method1 performs a complex operation on param1.
You load an array of strings to a variable named array 1. The array contains 1,000 items. You need to ensure that other methods that call Method1 can use multiple processor cores when they execute.
Which code segment should you use?
A. Array1.AsParalle1().ForAll(Me.Method1)You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You add a custom command as a resource. The key of the command is saveCommand.
You write the following code fragment. (Line numbers are included for reference only.)
01 < Canvas> 03
You need to ensure that saveCommand is executed when the user clicks the Button control. What should you do?
A. Insert the following code fragment at line 04.You are developing a Windows Presentation Foundation (WPF) application.
You are planning the deployment strategy for the application.
You need to write specific information to the registry during deployment for each user.
Which deployment strategy should you use?
A. XBAPYou are developing a Windows Presentation Foundation (WPF) application.
You need to display HTML content from a Web page on the WPF form.
What should you do?
A. Add a FlowDocumentReader control to the design surface. Then create a FlowDocument control.You develop a Windows Presentation Foundation (WPF) application. This application is used to output data trends to customer service representatives. A data trend analysis is performed in a function named UpdateTrendData. The trend
analysis is a long-running process.
The application contains the following code segment.
Class MainWindow: Window {
private void UpdateData(object arg)
{
double data = UpdateTrendData();
...
}
}
UpdateData is currently invoked on the UI thread when the form is first displayed.
You need to process the data in a manner that does not cause the UI to freeze.
What should you do?
A. Use ThreadPool.SetMaxThreads(2, 2) and invoke UpdateData.You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You write the following code fragment.
< TextBox Text="{Binding Path=StringMember} " / >
You need to ensure that the StringMember property of the data-bound object is updated immediately when the user types in the TextBox control.
Which binding expression should you use?
A. {Binding Path=StringMember, Mode=Two way}You are developing a Windows Presentation Foundation (WPF) application.
The MainWindow.xaml file contains a TreeView control with a DataTemplate that displays three levels in the following hierarchical order:
1. Household
a.
Parents
i.
Children
You need to ensure that a Menu control is configured to display the same hierarchy.
What should you do?
A. Set the ItemSource for the Menu control to the ResourceKey value of the TreeView's ItemTemplate. Set the ResourceKey for the Menu control's ItemTemplate to the Key value for the DataTemplate.You are developing a Windows Presentation Foundation (WPF) application with the following class. (Line numbers are included for reference only

The UI is not being updated when the Data property is set.
You need to ensure that the DisplayData class correctly updates the UI when the Data property is set.
What should you do?
A. Insert the following code at line 14. NotifyPropertyChanged("Data");You are developing a Windows Presentation Foundation (WPF) application. An element binding consistently throws errors because the data retrieval is slow.
You need to ensure that the PresentationTraceSource binding is configured to debug the source of these errors.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two).
A. Add the following markup segment to the window definition. xmlns:diagnostics= "clr-namespace:System.Diagnostics;assembly=WindowsBase"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.