Microsoft TS: Windows Applications Development with Microsoft .NET Framework 4 認定 70-511 試験問題:
1. 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?
A) <Border Background="{Binding ListBox.BackGround)">
<ContentPresenter />
</Border>
B) <Border Background="TemplateBinding ListBox.Background)">
<ContentPresenter />
</Border>
C) <Border Background="TemplateBinding ListBox.Background}">
<ItemsPresenter /> </Border>
D) <Border Background="<Binding ListBox.Background)">
<ItemsPresenter />
</Border>
2. You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application uses the background worker process (BWP).
When the user clicks a button, the background worker executes a method named DoCalculations asynchronously.
You need to implement a progress bar on the user interface (UI) that Informs the user of the progress of DoCalculations.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A) Call the ReportProgress method of the background worker in DoCalculations.
B) Call the ReportProgress method of the background worker in the DoWork event handler of the background worker.
C) Modify the Value property of the progress bar in the RunWorkerCompleted event handler of the background worker.
D) Modify the Value property of the progress bar in DoCalculations.
E) Modify the Value property of the progress bar in the ProgressChanged event handler of the background worker.
3. You are upgrading the security features of a Microsoft .NET 3.5 application to .NET 4.
You need to identify the .NET 3.5 security application programming interface (API) calls that implicitly use code access security (CAS) policies so that you can upgrade the calls.
What should you do?
A) call the BeginAnimation method of showOtherSide. Pass FlipSides as a parameter of the BeginAnimation method.
B) Add an event trigger to the Triggers collection of ManageOrders. Configure the event trigger to be based on the Click event ofshowOtherSide.
C) Add a property trigger to the Triggers collection of ManageOrders, Configure the property trigger to be based on theIsPressed property of showOtherSide.
D) call the BeginAnimation method of ManageOrders. Pass FlipSides as a parameter of the BeginAnimation method.
4. 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.)
5. You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
The application contains a ListBox control named IbxItems that is data-bound to a collection of objects. Each object has a DisplayValue property.
You add a Button control to the application.
You need to ensure that the Content property of the Button control is data-bound to the DisplayValue property of the selected item of IbxItems.
Which binding expression should you use?
A) {Binding Source=lbxItems, Path=SelectedItem.DisplayValue }
B) {Binding ElementName=IbxItems, Path=SelectedItem.DisplayValue }
C) {Binding ElementName= IbxItems, Source=SelectedItem, Path=DisplayValue }
D) {Binding Source=lbxItems, ElementName=SelectedItem, Path=DisplayValue }
質問と回答:
| 質問 # 1 正解: C | 質問 # 2 正解: A、E | 質問 # 3 正解: B | 質問 # 4 正解: メンバーにのみ表示されます | 質問 # 5 正解: B |














1088 お客様のコメント
品質保証JPexamはIT認定試験のシラバスに従って、試験問題の範囲を正確に絞って、的中率が99%の最新問題集を捧げます。
1年間の無料更新サービスJPexamは1年以内に問題集の無料更新サービスを提供し、お客様がいつでも最新版の問題集を持つことを保証いたします。もし試験の内容が変更されたら、弊社は直ちにお客様にお知らせします。それに、弊社の問題集が更新されたら、早速メールで最新バージョンを送付いたします。
全額返金JPexamの問題集を利用すると、短時間で勉強しても試験に合格できるのを保証いたします。試験に不合格になってしまった場合、弊社は全額返金いたします。(
ご購入前のお試しJPexamは問題集のサンプルを無料で提供いたします。ご購入前にサンプルを試用して製品の品質を確認することができます。ご遠慮なく利用してください。
