Ensurepass

QUESTION 131

You are developing a Windows Presentation Foundation (WPF) application.

The movement of a control within the application is animated. You need to ensure that the animated control is continually animated in one direction. What should you specify for the easing function of the animations?

 

A.            ElasticEase

B.            SineEase

C.            BackEase

D.            BounceEase

 

Correct Answer: B

 

 

QUESTION 132

You are developing a Windows Presentation Foundation (WPF) application.

The application uses a DockPanelcontrol with its HorizontalAlignmentproperty set to Left to divide the main window into three distinct columns. Each column is a panel that is responsible for the layout of its own controls. You need to reverse the order of the columns. What should you do?

 

A.    Set the HorizontalAlignmentproperty to Right on the DockPanel.

B.    Set the DockPanel.Dockproperty to Right on each of the panels.

C.    Set the LayoutTransformproperty to Identityon the DockPanel.

D.    Set the FlowDirectionproperty to RightToLefton each of the panels.

 

Correct Answer: B

 

 

QUESTION 133

You are developing a Windows Presentation Foundation (WPF) application page.

The page uses extensive graphics controls and animation that require absolute positioning. You need to select a control to use as a container. Which control should you select?

 

A.    StackPanel

B.    Canvas

C.    DockPanel

D.    Grid

 

Correct Answer: B

 

 

QUESTION 134

You are developing a Windows Presentation Foundation (WPF) application.

You pull employee information from an XML file named EmployeeData.xml. The XML file is as follows.

clip_image002

You need to display all the employee information from the XML file in EmployeeList. Which markup segment should you use?

 

A.    clip_image004

B.    clip_image006

C.    clip_image008

D.    clip_image010

 

Correct Answer: A

 

 

QUESTION 135

You are developing a Windows Presentation Foundation (WPF) application.

You add several TextBox controls within a StackPanel control. You next add several Image controls within a second StackPanel control. During testing, you discover that some of the textboxes do not appear in the proper layout. You need to quickly search for the textboxes and view their properties to identify which ones are incorrect. What should you do?

 

A.    Open the QuickWatch window and select the Text Visualizer.

B.    Open the Watch window and select the XML Visualizer.

C.    Open the Autos window and select the HTML Visualizer.

D.    Open the Locals window and select the WPF Tree Visualizer.

 

Correct Answer: D

 

 

QUESTION 136

You are developing a Windows Presentation Foundation (WPF) application.

An element binding consistently throws errors because the data retrieval is slow. You need to ensure that the PresentationTraceSourcebinding is configured to debug the source of these errors. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two).

 

A.    Add the following markup segment to the window definition.

xmlns:diagnostics=”clr-namespace:System.Diagnostics;assembly=WindowsBase”

B.    Add the following markup segment to the window definition.

xmlns:diagnostics=”clr-namespace:Microsoft.Build.Debugging;assembly=Microsoft.Build”

C.    Add the following markup segment to the problem element.

“diagnostics:PresentationTraceSources.TraceLevel=High”

D.    Add the following markup segment to the problem element,

“diagnostics:ConsoleTraceListener”

 

Correct Answer: AC

 

 

QUESTION 137

You are deploying a ClickOnce application manually in a test environment. You need to ensure that the deployment is signed with a self-signed test X.509 certificate. Which tool should you use to create the certificate?

 

A.    mage.exe

B.    cert2spc.exe

C.    makecert.exe

D.    Ic.exe

 

Correct Answer: C

 

 

QUESTION 138

You are developing a Windows Presentation Foundation (WPF) application.

You are planning the deployment strategy for the application. You need to write specific information to the registry during deployment for each user. Which deployment strategy should you use?

 

A.    XBAP

B.    ClickOnce

C.    xcopy

D.    Setup Project

 

Correct Answer: D

 

 

QUESTION 139

You develop a Windows Presentation Foundation (WPF) application.

You will use ClickOnce to publish it to a Web server. You add a Button control to the Windows Form with the following code segment. (Line numbers are included for reference only.)

clip_image012

You need to ensure that the update performs as designed. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

 

A.    Insert the following code at line 09.

updateCode.Update();

B.    Insert the following code at line 06.

info = updateCode.CheckForDetailedUpdate();

C.    Insert the following code at line 09.

updateCode.UpdateAsyncCancel();

D.    Insert the following code at line 06.

updateCode.DownloadFileGroup(null);

 

Correct Answer: AB

 

 

QUESTION 140

You are developing a Windows Presentation Foundation (WPF) application. A window is defined in the following markup segment.

clip_image014

You need to add a Windows Forms Button control to the window programmatically. Which code segment should you use?

 

A.    clip_image016

B.    clip_image018

C.    clip_image020

D.    clip_image022       

 

Correct Answer: A

 

Download Latest MCTS 70-511 Real Free Tests , help you to pass exam 100%.

Comments are closed.