2016 June Microsoft Official New Released 70-511Q&As in GreatExam.com!
100% Free Download! 100% Pass Guaranteed!
Your worries about 70-511 exam completely no more exist, because GreatExam is here to serves as a guide to help you pass the exam. GreatExam offers the latest 70-511 PDF and VCE dumps with the new version VCE player for free download. All the 70-511 exam questions and answers are the latest and cover every aspect of 70-511 exam. It 100% ensures you pass the exam without any doubt.
Following questions and answers are all new published by Microsoft Official Exam Center: (The full version is in the end of the article!!!)
QUESTION 81
You are developing a Windows Presentation Foundation (WPF) application.
The application contains a converter named DateOutputConverter that formats dates.
The window is defined as follows. (Line numbers are included for reference only.)
The window must display the OrderDate value found in shippedOrder.
The text box must display the OrderDate formatted by the DateOutputConverter.
You need to ensure that the OrderDate is displayed and formatted correctly.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Insert the following code at line 07.
<m:DateCutputConverter x:Key=”DateOutputConverter”/>
B. Insert the following code at line 10.
<TextBox text=”‘Binding OrderDate,
Converter= {StaticRescurce interationalDateConverter)}”
DataContext=”{StaticResource ResourceKey=shippedOrder}”/>
C. Insert the following code at line 07.
<m:DateCutputConverter x:Xey=”internationalDataConverter”/>
D. Insert the following code at line 10.
<TextBox text=”{Binding OrderDate}”/>
Answer: BC
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 window has the following markup. (Line numbers are included for reference only.)
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
Explanation:
See the msdn link with this example:
http://msdn.microsoft.com/it- it/library/system.windows.controls.itemscontrol.itemspanel.aspx
QUESTION 84
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 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
Explanation:
Apply this attribute to your main assembly, passing it the name of the default culture whose resources are embedded in the main assembly. Optionally, you can pass a member of the
UltimateResourceFallbackLocation enumeration to indicate the location from which to retrieve fallback resources. Using this attribute is strongly recommended.
http://msdn.microsoft.com/en-us/library/system.resources.ultimateresourcefallbacklocation(v=vs.100).aspx
and
http://msdn.microsoft.com/en-us/library/system.resources.neutralresourceslanguageattribute(v=vs.100).aspx
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(@”Sofware\MyProgram”)
GetValue(“ConnectionString”) ;
B. RegistryKey
OpenBaseKey(RegistryHive.CurrentUser, RegistryView.Registry64)
CreateSubKey(@”Software\MyProgram”)
GetValue(“ConnectionString”);
C. RegiatryKey
OpenBaseKey(RegistryHive.LocalMachine. RegistryView.Registry64)
CreateSubKey(@”Software\MyProgram”)
GetValue(“ConnectionString”) ;
D. RegistryKey
OpenBaseKey(RegistryHive.CurrentUser, RegistryView.Registry64)
OpenSubKey(@”Software\MyProgram”)
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
Pass 70-511 exam with the latest GreatExam 70-511 dumps. GreatExam 70-511 exam questions and answers in PDF are prepared by our expert. Moreover, they are based on the recommended syllabus that cover all the 70-511 exam objectives. Comparing with others’, you will find our 70-511 exam questions are more helpful and precise since all the 70-511 exam content is regularly updated and has been checked for accuracy by our team of Microsoft expert professionals. Welcome to choose.
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!!!]