This page was exported from New Real Practice Test With VCE And PDF For Free Download [ http://www.actualtest.info ]
Export date: Thu Mar 28 20:17:32 2024 / +0000 GMT

Unabridged Pass4sure Microsoft 70-511 PDF Dumps Free Download (81-90)


QUESTION 81
You are developing a Windows Presentation Foundation (WPF) application to display loan types by bank and students by loan type. You add the following markup segment to the MainWindow.xaml file. (Line numbers are included for reference only.)
811

 812
You need to ensure that the data appears in hierarchical form in a TreeView control. What should you do?

A.    At line 09, set the Resource Key to Students.
At line 15, set the Resource Key to Loan List
B.    At line 09, set the Resource Key to BankList.
At line 15, set the Resource Key to Lender.
C.    At line 09, set the Resource Key to LoanList.
At line 15, set the Resource Key to Students.
D.    At line 09, set the Resource Key to Lender.
At line 15, set the Resource Key to BankList.

Answer: A

QUESTION 82
You are developing a Windows Presentation Foundation (WPF) application. The application has several visual controls on a main page. You need to restyle all of the Ul-related elements on the main page at run time. Which class should you use to reference all these elements in a single call?

A.    visualTreeHelper
B.    LogicalTreeHelper
C.    UIElement
D.    ContentElement

Answer: C

QUESTION 83
You are developing a Windows Presentation Foundation (WPF) application.The application has an Image control. You need to ensure that a portion of the image displays in a circle in the control. What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)

A.    Add an Ellipse element to the control.
Use Ellipse.Stroke and ImageBrush with the image as ImageSource.
B.    Add an Image.Clip element to the control.
Use LineGeometry within Image.Clip.
C.    Add an Ellipse element to the control.
Use Ellipse.Fill and ImageBrush with the image as ImageSource.
D.    Add an Image.Clip element to the control.
Use EllipseGeometry within Image.Clip.

Answer: CD

QUESTION 84
You are developing a Windows Presentation Foundation (WPF) application. The window has the following markup. (Line numbers are included for reference only.)
841
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=" TemplateBindding ListBox.Background} "> <ItemsPresenter />
</Border>
B.    <Border Background="Binding ListBox.Background}">
<ItemsPresenter />
</Border>
C.    <Border Background="{TemplateBinding ListBox.Background} "> <ContentPresenter />
</Border>
D.    <Border Background="{Binding ListBox.Background}">
<ContentPresenter />
</Border>

Answer: A

QUESTION 85
You are developing a Windows Presentation Foundation (WPF) application.
The application uses drag-and-drop functionality.
You need to ensure that code is executed in the code-behind file when the dragged item is released onto the target element.
Which enumeration should you use?

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

Answer: D

QUESTION 86
You are developing a Windows Presentation Foundation (WPF) application. This application will be deployed to 20 countries. However, it will only be localized to some of those countries' regional dialects.
The localization will be performed by using resource files. However, no culture will be specified in the project file with the UlCulture tags.
You must ensure that the application defaults to English for those regions that are not localized.
What should you do?

A.    Add the following code segment to the AssemblyInfo file.
[assembly: NeutralResourcesLanguage("en-US",
UltimateResourceFallfcaclcLocation.Satellite) ]
B.    Add the following code segment to the Application constructor.
Thread.CurrentThread.CurrentUICulture=
new CultureInfo("en-US");
C.    Add the following code segment to the AssemblyInfo file.
[assembly: NeutralResourcesLanguage("en-OS", DltimateResourceFallbackLocation.MainAssembly) ]
D.    Add the following code segment to the Application constructor.
Thread.CurrentThread.CurrentCulture =
new CultureInfo("en-US");

Answer: A

QUESTION 87
You develop a Windows Presentation Foundation (WPF) application. The application runs on 64-bit machines only.
The application architects want to store application settings in the registry. The users do not have write access to these settings. These application settings apply to everyone using the application. You need to read the application settings successfully from the registry.
Which code segment should you use?

A.    RegistryKey
OpenBaseKey{RegistryHive.LocalMachine, RegistryView.Registry64)
OpenSubKey(@"SofwareMyProgram")
GetValue("ConnectionString") ;
B.    RegistryKey
OpenBaseKey(RegistryHive.CurrentUser, RegistryView.Registry64)
CreateSubKey(@"SoftwareMyProgram")
GetValue("ConnectionString");
C.    RegiatryKey
OpenBaseKey(RegistryHive.LocalMachine. RegistryView.Registry64)
CreateSubKey(@"SoftwareMyProgram")
GetValue("ConnectionString") ;
D.    RegistryKey
OpenBaseKey(RegistryHive.CurrentUser, RegistryView.Registry64)
OpenSubKey(@"SoftwareMyProgram")
GetValue("ConnectionString");

Answer: A

QUESTION 88
You are developing a Windows Presentation Foundation (WPF) application. Two styles, Blue and Green, are used for Border objects. The two styles have the same values for the CornerRadius and BrushThickness properties and different values for the Background property. You need to define the CornerRadius and BrushThickness settings in either the Blue or the Green style, but not both.
What should you do?

A.    Separate Blue and Green into two files. Put the base settings in Blue and use MergedDictionaries. Ensure that the Green file is second in the list.
B.    Put Blue and Green into the same file. Put the base settings in Blue and mark Green as BasedOn Blue.
C.    Put Blue and Green into the same file. Put the base settings in Blue and mark Blue as BasedOn Green.
D.    Separate Blue and Green into two files. Put the base settings in Blue and use MergedDictionaries. Ensure that the Blue file is second in the list.

Answer: B

QUESTION 89
You are creating a Windows Presentation Foundation (WPF) application. A control periodically appears to alert the user of status changes within the application. You need to specify that each time the control appears, it fades out within half a second. Which markup segment should you add to the Storyboard element of the control?

A.    <DoubleAnimation Storyboard.TargetProperty="Opacity" From="0" To=".5" />
B.    <DoubleAn^mation Storyboard.rargetProperty="Opacity" From="l" To="0" Duration="0:0:.5"
RepeatBehavior="Forever" />
C.    <DoubleAnimation Storyboard.TargetProperty="Opacity" From"l" To="0" Duration"0:0:.5" />
D.    <DoubleAnimation Storyboard. TargetProperty="Opacity" From="1" To="0" Duration="0:0:.5"
RepeatBehavior="0:0:5" />

Answer: C

QUESTION 90
You are developing a Windows Presentation Foundation (WPF) application page. The controls on the page must be enclosed within a single rectangular border. The border must contain an image in the header.
You need to select a control to use as a container.
Which control should you select?

A.    Border
B.    Rectangle
C.    Expander
D.    GroupBox

Answer: D

Unabridged Pass4sure Microsoft 70-511 PDF Dumps Free Download

Post date: 2014-03-11 03:34:37
Post date GMT: 2014-03-11 03:34:37
Post modified date: 2014-03-11 03:34:37
Post modified date GMT: 2014-03-11 03:34:37
Powered by [ Universal Post Manager ] plugin. HTML saving format developed by gVectors Team www.gVectors.com