QUESTION 261You use Microsoft -NET Framework 4 to create a Windows Forms application.You have a form named Forml that has a TableLayoutPanel control named tableLayoutPanel1. tableLayoutPanel1 has two rows and two columns.You need to create a method that meets the following requirements:– Accepts a string parameter– Dynamically creates a Label control that appears in the first column – Dynamically creates a TextBox control that appears directly below the Label controlWhich code should you use?

A. Option AB. Option BC. Option CD. Option D

Answer: A

QUESTION 262You 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?

A. ServiceModelB. DataBindingC. ADO.NETD. Tracing

Answer: C

QUESTION 263You are developing a Windows Presentation Foundation (WPF) application.The application will be used by users in France and users in Germany.The Window element for the main window contains the following declaration:<Window xmlns:properties=”ctr-namespace : LocalizedApp. Properties”…You need to ensure that the application appears in the language of each user.What should you do?

A. Add a content control to the Window element.B. Add language entries to the appSettings section of the Machine.config file.C. Modify the Application.Resources section of the App.xaml file.D. Add language-specific resource files.

Answer: A

QUESTION 264Drag and Drop QuestionYou develop a custom Chart control.The custom Chart control is defined in a class named ChartControl in a namespace named Contoso.Views.Chart.You need to include the Chart control in a page named DetailPage.xaml.What should you do? (Develop the solution by selecting and ordering the required code snippets. You may not need all of the code snippets.)

Answer:

QUESTION 265You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application contains a form named frmMain that contains a button named btnSave.You create a ProgressBar control named saveProgress. Initially, saveProgress is not displayed on frmMain.When a user clicks btnSave, you have the following requirements:– saveProgress is slightly visible after 0.2 seconds– saveProgress is fully visible after 1 secondYou need to declare the corresponding storyboard.You write the following code fragment. (Line numbers are included for reference only.)01 <Storyboard x:Key=”animateProgress” TargetName=”saveProgress”> 03 </Storyboard>Which code fragment should you insert at line 02 to complete the declaration?

QUESTION 266Hotspot QuestionYou are developing a Windows Presentation Foundation (WPF) application that will be deployed by using ClickOnce.You have a file named CONTOSOEULA.docx that is part of the project.CONTOSOEULA.docx must be deployed during the setup of the application.You discover that CONTOSOEULA.docx does not appear in the Application Files settings.You need to ensure that CONTOSOEULA.docx is included in the Application Files.Which Build Action should you use? (To answer, select the appropriate Build Action in the answer area.)

Answer:

QUESTION 267You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.The application uses the drag-and-drop functionality.You need to identify which enumeration member must be used to meet the following requirements:– Ensure that the data from the drag source can be copied. – Ensure that the data from the drag source can be moved. – Ensure that the target can be scrolled while you are dragging.Which enumeration member should you identify?

QUESTION 268You are develping 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 txtBlockl displays the path of the file.Which code should you use?

QUESTION 269Hotspot QuestionYou 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.)

Answer:

QUESTION 270You 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?

A. ServiceModelB. DataBindingC. TracingD. ADO.NET

Answer: C

For those who feel the overwhelming anxiety before their 70-511 exam,Braindump2go Latest updated 70-511 Exam Dumps will help you Pass 100% in a short time preparation! 70-511 Exam Dumps PDF & VCE Full Version Instant Download!