Download Free Microsoft 70-511 PDF and VCE Updated Today 261-270

Vendor: Microsoft
Exam Code: 70-511
Exam Name: TS: Windows Applications Development with Microsoft .NET Framework 4
Version: 14.91

QUESTION 261
You 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 control

Which code should you use?

wpsF66C.tmp

 

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: A

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

A.    ServiceModel
B.    DataBinding
C.    ADO.NET
D.    Tracing

Answer: C

QUESTION 263
You 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 264
Drag and Drop Question
You 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.)

wps2AC5.tmp

Answer:

wps4133.tmp

QUESTION 265
You 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 second

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

A.                   <ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty="Visibility"><DiscreteObjectKeyFraitie KeyTiine="0"
Value="{x:Static Visibility.Collapsed}" /><DiscreteObjectKeyFrame KeyTirae="l"
Value="{x:Static Visibility.Visible}" /></ObjectAniiriationUsingKeyFrames>

B.                 <ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty="Visibility"><DiscreteObjectKeyFraitie KeyTiine="0"
Value="{x:Static Visibility.Collapsed}" /><DiscreteObjectKeyFrame KeyTirae="l"
Value="{x:Static Visibility.Visible}" /></ObjectAniiriationUsingKeyFrames>

C.<DoubleAnimation Storyboard.TargetProperty="Opacity" Duration="00:00:01" From="0" To="l" />

D.<DoubleAnimation Storyboard. TargetProperty= Opacity" Duration="1" From="0" To="1" />

Answer: C

 

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

A.    DragAction.Cancel
B.    DragAction.Drop
C.    DragDropEffects.All
D.    DragDropEffects.None

Answer: C

 

QUESTION 267
Hotspot Question
You 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.)

wps68B1.tmp

Answer:

wps7A5E.tmp

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

A.    txttBlock1.Text = App.Current.Properties["FilePath"].ToString();
B.    txtBlock1.Text = AppDomain. CurrentDomain.Setup Information.
ActivationArguments.
ActivationData \0\ .ToString ();
C.    txtBlock1.Text = DataContext .ToString ();
D.    txttBlock1.Text = App.Current.Properties["ActivationData"].ToString();

Answer: B

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

wps9619.tmp

Answer:

wpsA9C9.tmp

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

A.    ServiceModel
B.    DataBinding
C.    Tracing
D.    ADO.NET

Answer: C

If you want to pass Microsoft 70-511 exam successfully, donot missing to read latest lead2pass Microsoft 70-511 dumps.
If you can master all lead2pass questions you will able to pass 100% guaranteed.

http://www.lead2pass.com/70-511.html