070-511試験無料問題集「Microsoft TS: Windows Applications Development with Microsoft .NET Framework 4 認定」
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?
正解:A
解答を投票する
HOTSPOT
You use Microsoft .NET Framework 4 to create a Windows Presentation Framework (WPF)
application.
The application contains a DockPane1 named DockPanel1. DockPanel1 contains a ListBox
named List1 and a Button named Button1.
End-users discover that when they run the application, their mouse pointer disappears
when they hover over List1.
You run the application in debug mode and open the WPF Tree Visualizer.
You need to identify which property causes the issue.
Which property should you identify? (To answer, select the appropriate property in the
answer area.)

You use Microsoft .NET Framework 4 to create a Windows Presentation Framework (WPF)
application.
The application contains a DockPane1 named DockPanel1. DockPanel1 contains a ListBox
named List1 and a Button named Button1.
End-users discover that when they run the application, their mouse pointer disappears
when they hover over List1.
You run the application in debug mode and open the WPF Tree Visualizer.
You need to identify which property causes the issue.
Which property should you identify? (To answer, select the appropriate property in the
answer area.)

正解:

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You add a ListBox control to the application. The ListBox control is data-bound to an instance of a custom collection class of the Product objects named ProductList.
You need to ensure that changes to ProductList are automatically reflected in the ListBox control.
What should you do?
You add a ListBox control to the application. The ListBox control is data-bound to an instance of a custom collection class of the Product objects named ProductList.
You need to ensure that changes to ProductList are automatically reflected in the ListBox control.
What should you do?
正解:A
解答を投票する
You are developing a Windows Presentation Foundation (WPF) application. The WPF window contains a ListBox control that displays a list of customer names and genders.
You add the following markup segment to the application. (Line numbers are included for reference only.)

The WPF window renders the list of customers with empty Gender values.
You need to convert the null values for Gender to the following string: "Gender Not Specified".
Which binding attribute should you add at line 08?
You add the following markup segment to the application. (Line numbers are included for reference only.)

The WPF window renders the list of customers with empty Gender values.
You need to convert the null values for Gender to the following string: "Gender Not Specified".
Which binding attribute should you add at line 08?
正解:A
解答を投票する
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.
<Border Style="{StaticResource BlueBackground}"
Height="100" Width="200">
</Border>
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?
<Border Style="{StaticResource BlueBackground}"
Height="100" Width="200">
</Border>
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?
正解:B
解答を投票する
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
The application includes a function that is triggered by filling out a form and by clicking a button. Currently, the application is tested manually.
You need to create an automated and iterative process to test the application.
What should you do?
The application includes a function that is triggered by filling out a form and by clicking a button. Currently, the application is tested manually.
You need to create an automated and iterative process to test the application.
What should you do?
正解:D
解答を投票する
You develop a Windows Presentation Foundation (WPF) application. This application is used to output data trends to customer service representatives.
You use threading to keep the UI responsive. You have a function named UpdateUI that updates all of the UI components.
You use the following code to update the _Data variable. (Line numbers included for reference only.)

You need to update the user interface without knowing if you are on the UI thread.
Which code segment should you insert at line 06?
You use threading to keep the UI responsive. You have a function named UpdateUI that updates all of the UI components.
You use the following code to update the _Data variable. (Line numbers included for reference only.)

You need to update the user interface without knowing if you are on the UI thread.
Which code segment should you insert at line 06?
正解:D
解答を投票する
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You need to ensure that the application meets the following requirements;
- Displays a menu that is specific to the control selected by the user.
- Displays the menu next to the control.
Which control should you use?
- Displays a menu that is specific to the control selected by the user.
- Displays the menu next to the control.
Which control should you use?
正解:C
解答を投票する