最新的Microsoft TS: Windows Applications Development with Microsoft .NET Framework 4 - 070-511免費考試真題
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?
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?
正確答案: D
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a
Windows Presentation Foundation (WPF) application.
You suspect that the data returned from the database is incorrect.
You need to capture interactions to the database by using IntelliTrace.
Which event type should you capture?
Windows Presentation Foundation (WPF) application.
You suspect that the data returned from the database is incorrect.
You need to capture interactions to the database by using IntelliTrace.
Which event type should you capture?
正確答案: B
You have the following code in a Windows Presentation Foundation (WPF) application:

You need to animate the ellipse.
Which code segment should you use to declare the animation at line 12?

You need to animate the ellipse.
Which code segment should you use to declare the animation at line 12?
正確答案: D
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application contains an ObservableCollection object named Pictures that contains several Picture objects. Each Picture object contains the Name and PictureFilePath properties.
You add a ListBox control to the application.
You need to ensure that the pictures are displayed in the ListBox control.
Which code fragment should you use?

You add a ListBox control to the application.
You need to ensure that the pictures are displayed in the ListBox control.
Which code fragment should you use?

正確答案: B
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:
Shows Order Details for the selected order.
Shows only Order Details for items that have UnitPrice greater than 20.
Sorts Products by ProductName
Which code segment should you use?

You plan to add a DataGridView to display the dataset.
You need to ensure that the DataGridView meets the following requirements:
Shows Order Details for the selected order.
Shows only Order Details for items that have UnitPrice greater than 20.
Sorts Products by ProductName
Which code segment should you use?
正確答案: A
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?
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?
正確答案: B
You plan to create a Windows Presentation Foundation (WPF) user control.
You need to create a WPF user control that contains 12 areas that are identical in size.
The solution must meet the following requirements:
- Ensure that if the control is resized, the relative size of the areas will remain the same. - Minimize development effort.
Which control should you use?
You need to create a WPF user control that contains 12 areas that are identical in size.
The solution must meet the following requirements:
- Ensure that if the control is resized, the relative size of the areas will remain the same. - Minimize development effort.
Which control should you use?
正確答案: A
You are developing a Windows Presentation Foundation (WPF) application to display service cases by category in a ListBox You create a class named Case with the properties Description and Category, as follows.

You bind to the IstService control a static resource named ServiceCases.
You need to ensure that the service cases are grouped by category.
What should you do in the MainWindow.xaml file?

You bind to the IstService control a static resource named ServiceCases.
You need to ensure that the service cases are grouped by category.
What should you do in the MainWindow.xaml file?
正確答案: C
You use Microsoft .NET Framework 4 to create a custom Windows Presentation Foundation (WPF) application.
Your environment includes several WPF applications. The applications use the same logo and style configuration as part of a corporate standard.
You need to ensure that the existing applications can be updated to use the same logo and style settings without recompiling.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
Your environment includes several WPF applications. The applications use the same logo and style configuration as part of a corporate standard.
You need to ensure that the existing applications can be updated to use the same logo and style settings without recompiling.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
正確答案: C,D
You are developing a Windows Presentation Foundation (WPF) application page.
The page uses extensive graphics controls and animation that require absolute positioning.
You need to select a control to use as a container.
Which control should you select?
The page uses extensive graphics controls and animation that require absolute positioning.
You need to select a control to use as a container.
Which control should you select?
正確答案: D