web analytics

2016 June Microsoft Official New Released 70-511 Q&As in GreatExam.com!

100% Free Download! 100% Pass Guaranteed!

GreatExam is the best place for preparing IT exam as we are providing the latest and guaranteed questions for all certifications. We offer you the ultimate preparation resource of Microsoft 70-511 test questions and answers. Wondering what could be this effective? It is our Microsoft 70-511 VCE and PDF which serves as a guide to pass Microsoft 70-511 exam.

Following questions and answers are all new published by Microsoft Official Exam Center: (The full version is in the end of the article!!!)

QUESTION 276
Drag and Drop Question
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
The application contains a window that has two buttons named Copy and Paste.
You need to ensure that the buttons have a black background color and white foreground color.
What should you do? (Develop the solution by selecting and ordering the required code snippets. You may not need all of the code snippets.)

2761
Answer:
2762

QUESTION 277
You plan to create a Windows Presentation Foundation (WPF) user control.
You need to create a WPF user control that contains 12 areas that are identical in size.
The solution must meet the following requirements:
– Ensure that if the control is resized, the relative size of the areas will remain the same.
– Minimize development effort.
Which control should you use?

A.    StackPanel
B.    DockPanel
C.    Viewbox
D.    UniformGrid
E.    WrapPanel

Answer: D

QUESTION 278
You are migrating a Windows Forms application to a Windows Presentation Foundation (WPF) application.
You need to create a window to display controls.
The controls must be positioned by using fixed coordinates.
Which control should you use in the WPF application?

A.    WrapPanel
B.    StackPanel
C.    Grid
D.    Canvas
E.    UniformGrid

Answer: D

QUESTION 279
Drag and Drop Question
You use Microsoft .NET Framework 4 to create a Windows Forms application.
The application contains a form named Form1.
Form1 contains the following code:
2791
The Form1_DragDrop method populates the picture and the pictureLocation variables, if the content being dropped is a bitmap.
Once the variables are populated, the Forml_DragDrop method calls the Invalidate method.
You need to render the contents of the bitmap on the form in the location where the user drops a bitmap file.
What should you add to Form1? (Develop the solution by selecting and ordering the required code snippets. You may not need all of the code snippets.
2792
Answer:
2793

QUESTION 280
You have an App.xaml file that contains the following markup:
You need to create a TextBlock named txtBlock1 that uses PageTitleStyle.
Which code should you use?
2801

A.    <TextBlock x:Name= “txtBlock”
Style= “{DynamicResource PageTitleStyle}”/>
B.    <TextBlock x:Name= “txtBlock”
Style= “{DynamicResources:PageTitleStyle”/>
C.    <TextBlock x:Name= “txtBlock”
Style= “{ PageTitleStyle”/>
D.    <TextBlock x:Name= “txtBlock”
Style= “{Binding DynamicResources:PageTitleStyle}”/

Answer: A

QUESTION 281
Drag and Drop Question
You have the following code:
2811
You need to fetch the Person list from the PersonRepository class and bind the returned data to a DataGridView.
The solution must ensure that changes made to the data in the DataGridView are persisted to the Person list.
What code should you insert at line 23? (Develop the solution by selecting and ordering the required code snippets. You may not need all of the code snippets.)
2812
Answer:
2813

QUESTION 282
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.Drop
B.    DragAction.Cancel
C.    DragDropEffects.All
D.    DragDropEffects.None

Answer: C

QUESTION 283
You have the following code in a Windows Presentation Foundation (WPF) application:
You need to animate the ellipse.
Which code segment should you use to declare the animation at line 13?
2831

A.    DiscreteVectorKeyFrame a = new DiscreteVectorKeyFrame();
B.    PointAnimation a = new PointAnimation();
C.    AnimationTimeiine a;
D.    DoubleAnimation a = new DoubleAnimation();

Answer: D

QUESTION 284
Drag and Drop Question
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
The application contains a window named Window1.
Window1 contains several controls of the Label, TextBox, and Button types.
You create the following style in a Window.Resources element:
2841
You need to define a style named Style2 that meets the following requirements:
– Has a blue background
– Uses the same settings as Style1
– Can only be applied to the TextBox controls
How should you complete the style? (To answer, drag the appropriate elements to the correct locations. Each element 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.)
2842
Answer:
2843

QUESTION 285
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 Button 1.
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.)
2851
Answer:
2852

QUESTION 286
You have the following code in a Windows Presentation Foundation (WPF) application:
You need to animate the ellipse.
Which code segment should you use to declare the animation at line 12?
2861

A.    Dim a As New DoubleAnimation ()
B.    Dim a As New ColorAnimation ()
C.    Dim a As AnimationTimeline
D.    Dim a As New DiscreteVectorKeyFrame()

Answer: B

QUESTION 287
You are developing 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 txtBlock1 displays the path of the file.
Which code should you use?
2871

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

Answer: C

QUESTION 288
Which setup project editor is used to add project outputs to a setup project?

A.    File System editor
B.    File Types editor
C.    Custom Actions editor
D.    User Interface editor

Answer: A

QUESTION 289
Which of the following is an appropriate installation condition if you want to restrict installation to Windows 2000 or later?

A.    VersionNT=500
B.    VersionNT>=500
C.    VersionNT<=500
D.    VersionNT<>500

Answer: B

QUESTION 290
Which of the following are required to execute a custom action upon installation of your setup project? (Choose all that apply.)

A.    You must add an Installer class to your setup project.
B.    You must add an Installer class to the project you want to deploy as a custom action.
C.    You must write your custom action in the Install method of an Installer class.
D.    You must specify the project that contains the custom action in the Custom Actions editor.

Answer: BCD

Practise GreatExam 70-511 braindumps and pass your exam easily. GreatExam is number one company for real exam dumps. Download GreatExam 70-511 exam questions and answers PDF file and prepare from our study material.

2016 Microsoft 70-511 exam dumps (All 300 Q&As) from GreatExam:

http://www.greatexam.com/70-511-exam-questions.html [100% Exam Pass Guaranteed!!!]

By admin