You use Microsoft .NET Framework 4 to create a Windows Presentation Framework (WPF) application.
The application contains a DockPanel named DockPanel1. DockPanel1 contains a ListBox named List1 and a Button named Button1.
You discover that DockPanel1 does not appear in the application.
You set a breakpoint, and then you run the code in debug mode.
You need to identify which property prevents DockPanel1 from appearing in the application. Which property should you identify? (To answer, select the appropriate property in the answer area.)
Hot Area:

You are developing a Windows Presentation Foundation (WPF) application.
You plan to deploy the WPF application by using ClickOnce. The application will be associated to files that have an extension of .abc.
You need to ensure that when a user opens the application by double-clicking an .abc file, a TextBlock named txtBlock1 displays the path of the file.
Which code should you use?

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You need to configure the application to meet the following requirements:
When a TextBox control has focus and no characters, the background color of the TextBox must be Blue. When the TextBox control loses focus, the background of the TextBox must revert to the original value.
What should you do? (Develop the solution by selecting and ordering the required code snippets. You may not need all of the code snippets.)
Select and Place:

You are developing a Windows Presentation Foundation (WPF) application. You are writing data templates for a calendar.
You must use the Weekend template for weekends and the Weekday template for weekdays. The Window markup is as follows. (Line numbers are included for reference only.)

You need to ensure that the Weekend and Weekday templates are applied correctly to the ListBox control. Which markup segment should you insert at line 11?
You 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?
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 ItemSource value for the TreeView.You create a Microsoft Windows Installer file for a Windows Presentation Foundation (WPF) application that requires Microsoft .NET Framework 4. You need to ensure that the installation starts only if .NET Framework 4 is already installed on the computer.
What should you do?
A. Use a custom action.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?
A. DragAction.CancelYou use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You create a WPF window in the application.
You add the following code segment to the application.

The DataContext property of the window is set to an instance of the ViewModel class. The Data property of the ViewModel instance is initialized with a collection of BusinessObject objects.
You add a TextBox control to the window.
You need to bind the Text property of the TextBox control to the Name property of the current item of the CollectionView of the DataContext object.
You also need to ensure that when a binding error occurs, the Text property of the TextBox control is set to N/A.
Which binding expression should you use?
A. {Binding Path=Data/Name, FallbackValue='N/A' }You use Microsoft .NET Framework 4 to create a Windows Forms application. You have a dataset as shown in the following exhibit.

You plan to add a DataGridView to display the dataset.
You need to ensure that the DataGridView meets the following requirements:
1.
Shows Order Details for the selected order.
2.
Shows only Order Details for items that have UnitPrice greater than 20
3.
Sorts Products by ProductName
Which code segment should you use?
A. ordersBindingSource.DataSource = producxsBindingSource; ordersBindingSource.DataMember = "FK_Order_Details_Products"; productsBindingSource.Filter = "UnitPrice > 20"; productsBindingSource.Sort = ProductName";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.