070-511 無料問題集「Microsoft TS: Windows Applications Development with Microsoft .NET Framework 4」

You are developing a Windows Presentation Foundation (WPF) application.
The application uses drag-and-drop functionality.
You need to ensure that code is executed in the code-behind file when the dragged item is released onto the target element.
Which enumeration should you use?

You use Microsoft .NET Framework to create a Windows Presentation Foundation (WPF) application.
You create a window that contains a Button control and a MenuItem control. Both controls are labeled "Add sugar." The Command properties of the Button and MenuItem controls are set to the same RoutedCommand named AddSugarCommand.
You write the following code segment.
Private Sub CanAddSugar(sender As Object, e As CanExecuteRoutedEventArgs)
...
End Sub
You need to ensure that when the CanAddSugar method sets e.CanExecute to false, the MenuItem and Button controls are disabled.
What should you do?

HOTSPOT
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 Buttonl.
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.)
正解:
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?

DRAG DROP
You are developing a Windows Presentation Foundation (WPF) application.
You are creating a screen named NewsList that contains a ListView control. NewsList must meet the following requirements:
NewsList must display data from an object named News.
Each item displayed in NewsList must use a data template named dataTemplatel.
NewsList must be displayed by using a grid that has a maximum of four rows.
---
You need to identify which property to use for each requirement.
What should you identify? (To answer, drag the appropriate properties to the correct requirements. Each property may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
正解:
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?

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?

You are developing a Windows Presentation Foundation (WPF) application.
You need to use XAML to create a custom control that contains two Button controls.
From which base class should you inherit?

You are developing a Windows Presentation Foundation (WPF) application with multiple windows.
The majority of the buttons within the application are styled consistently. However, three buttons within the application must be styled differently.
You need to ensure that the application can handle this styling requirement.
What should you do?

解説: (JPNTest メンバーにのみ表示されます)
You are developing a Windows Presentation Foundation (WPF) application. You are implementing a test strategy for the application.
You need to ensure that the test class can repeat user input.
From which base class should the test class inherit?

You are developing a Windows Presentation Foundation (WPF) application.
The application consists of: - A window that contains controls organized into groups. - Groups that are ordered vertically and that have individual headings.
--
Controls within the groups that are ordered horizontally. Groups and controls that will be added dynamically at run time.
You need to ensure that the application meets the following requirements:
--
The window must be resizable without affecting the layout of the controls. The controls within the groups must be laid out such that there is a minimum amount of spacing between groups.
What should you do?

You are developing a Windows Presentation Foundation (WPF) application that displays opportunities from List<T> named Leads, where T is a class named Lead. The Lead class contains the properties Title and Revenue.
You add a DataGrid control named dgQualifiedLeads to the MainWindow.xaml file. You set the ItemSource property of dgQualifiedLeads to Leads as follows. (Line numbers are included for reference only.)

You need to ensure that CollectionViewSource is used to filter the list to display only Lead objects with revenue of more than $1,000.
What should you do?

You are developing a Windows Presentation Foundation (WPF) application.
This application will be deployed to 20 countries. However, it will only be localized to some of those countries' regional dialects. The localization will be performed by using resource files. However, no culture will be specified in the project file with the UlCulture tags.
You must ensure that the application defaults to English for those regions that are not localized.
What should you do?

解説: (JPNTest メンバーにのみ表示されます)
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?

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡