You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You need to ensure that users can view content in a book-reading format that displays two pages at a time. Which control should you use?
A. FlowDocumentYou use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
The application uses the drag-and-drop functionality. You need to identify which enumeration member must be used to meet the following requirements:

Ensure that the data from the drag source can be copied.

Ensure that the data from the drag source can be moved.

Ensure that the target can be scrolled while you are dragging. Which enumeration member should you identify?
A. DragAction.CancelYou are developing a Windows Presentation Foundation (WPF) application. You use the following markup segment to add a Button control to the design surface of the MainWindow.xaml file.

You add the following code segment to the code-behind file for HainWindow.

The application will be deployed in an environment that requires alternate key mappings. You need to remove the CTRL+ C input gesture and replace it with the ALT+ C input gesture. What should you do?

You are developing a Windows Presentation Foundation (WPF) application. The application contains the following code in the code-behind file for an application window.
(Line numbers are included for reference only.)
01 Dim stack As StackPanel = New StackPanel()
02 Content = stack
03 For i As Integer = 0 To 9
04 Dim btn As Button = New Button ()
05 btn.Name = Convert.ToChar (Asc("A") + i) .ToString ()
06 btn.Content - btn.Name "says" "Click me1" 07
08 Next
You need to ensure that all of the Button controls that are defined in this code segment appear in the application window.
Which code segment should you insert at line 07?
A. stack.Children.Add (btn)You are developing a Windows Presentation Foundation (WPF) application. The application uses a DockPanel control with its HorizontalAlignment property set to Left to divide the main window into three distinct columns. Each column is a panel that is responsible for the layout of its own controls.
You need to reverse the order of the columns.
What should you do?
A. Set the HorizontalAlignment property to Right on the DockPanel.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.TJTOV" Name="myMediaElement" Width="450" Height="250" LoadedBehavior="Play" UnloadedBehavior="Stop" Stretch="Fill'>You are developing a Windows Presentation Foundation (WPF) application.
The application has several visual controls on a main page. You need to restyle all of the Ul-related elements on the main page at run time. Which class should you use to reference all these elements in a single call?
A. visualTreeHelperYou 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?
A. Resources.de.xmlYou use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You write the following code fragment to bind a customer object to several controls in a window.
When the application executes, you receive the following error message:
"System.Windows.Data Error: 35: BindingExpression path error: 'CustomerName' property not found on 'object' "Customer1 (HashCode=22613453).
BindingExpression:Path=CustomerNarne; DataItem='Customer' (HashCode=22613453);
target element is 'TextBox' (Name='textBoxl');
target property is 'Text' (type 'String')"
You need to identify the source of the error. What should you do?
A. Use a Trace object.You are developing a Windows Presentation Foundation (WPF) application. You add several TextBox controls within a StackPanel control. You next add several Image controls within a second StackPanel control.
During testing, you discover that some of the textboxes do not appear in the proper layout. You need to quickly search for the textboxes and view their properties to identify which ones are incorrect.
What should you do?
A. Open the QuickWatch window and select the Text Visualizer.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.