This page was exported from New Real Practice Test With VCE And PDF For Free Download [ http://www.actualtest.info ] Export date:Wed Jan 29 6:04:08 2025 / +0000 GMT ___________________________________________________ Title: Unabridged Pass4sure Microsoft 70-511 PDF Dumps Free Download (201-210) --------------------------------------------------- QUESTION 201 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="TemplateBinding ListBox.Background)"> <ContentPresenter /> </Border> B.    <Border Background="{Binding ListBox.BackGround)"> <ContentPresenter /> </Border> C.    <Border Background="<Binding ListBox.Background)"> <ItemsPresenter /> </Border> D.    <Border Background="TemplateBinding ListBox.Background}"> <ItemsPresenter /> </Border> Answer: D QUESTION 202 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 UI-related elements on the main page at run time. Which class should you use to reference all these elements in a single call? A.    ContentElement B.    UIElement C.    VisualTreeHelper D.    LogicalTreeHelper Answer: B QUESTION 203 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 Image.Clip element to the control. Use EllipseGeometry within Image.Clip. B.    Add an Ellipse element to the control. Use Ellipse.Stroke and ImageBrush with the image as ImageSource. 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 LineGeometry within Image.Clip. Answer: AC QUESTION 204 You are developing a Windows Presentation Foundation (WPF) application. There is an issue in the display of Label. When you open the WPF Visualizer, you see the following information in the left- hand panel of the Visualizer. You need to identify the XAML markup for the Label control that caused the issue. Which markup segment corresponds to the Label control? A.    <Label Name="Label1"> Button Click="Button Clicks <StackPanel Orientation="Horizontal"> <TextBlock Text="Click!" /> <Button Content="Click!" Click="Button_Click" /> </StackPanel> </Button> </Label> B.    <Label Name-"Labe;1"> <StackPanel Orientation="Horizontal"> <Button Click="Button_Click"> <TextBlock Text="Click!" /> </Button> </StackPanel> </Label> C.    <Label Name="Label1"> <Button Click="Button_Click"> <StackPanel Orientation="Horizontal"> <TextB1ock Text="Click!" /> </StackPanel> </Button> </Label> D.    <Label Name="Label1"> <StackPanel Orientation="Horizontal"> <TextBlock Text="Click!" /> <Button Content="Click!" Click="Button_Click" /> </StackPanel> </Label> Answer: D QUESTION 205 You are developing a Windows Presentation Foundation (WPF) application. You are implementing a test strategy for the application. You need to ensure that the history of your testing session can be rewound in the execution cycle so that the state of the application and events that occurred previously can be viewed. What should you use? A.    visual Studio debugger break points B.    intelliTrace C.    coded UI Tests D.    an error dump file Answer: B QUESTION 206 You are developing a user control for a Windows Presentation Foundation (WPF) application. The user control contains a button. Both the user control and the hosting control must receive the button click event. You need to ensure that the user control responds to the button click event before the hosting control responds to the event. What should you do? A.    Use a bubbling routed event. In the button click event handler, set the Handled property to True. B.    Use a bubbling routed event. In the button click event handler, set the Handled property to False. C.    Use a standard Microsoft .NET event. Set the Handled property to True. D.    Use a tunneling routed event. Set the Handled property to False. Answer: C QUESTION 207 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.    DragDropEffects.All C.    DragAction.Drop D.    DragAction.Cancel Answer: C QUESTION 208 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 209 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 Assemblylnfo file. <Assextbly: NeutralResourcesLanguage ("en-OS", UltimateResourceFallbackLocation.Satellite) > B.    Add the following code segment to the Assemblylnfo file. <Assemlbly: NeutrolResourceaLanguage ("en-U3", UtlmateReaourceFallbackLocatlon.MainnAssembly|> C.    Add the following code segment to the Application constructor. Thread.CurrentThread.CurrentCulture New CultureInfo ("en-DS") D.    Add the following code segment to the Application constructor. Thread.CurrentThread.CurrentUICulture = New CultureInfo("en-US") Answer: A QUESTION 210 You are developing a Windows Presentation Foundation (WPF) application. The application uses a DockPanel control with its HorizontalAlignment property 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 HorizontalAlignment property to Right on the DockPanel. B.    Set the LayoutTransform property to Identity on the DockPanel. C.    Set the DockPanel.Dock property to Right on each of the panels. D.    Set the FlowDirection property to RightToLeft on each of the panels. Answer: D Unabridged Pass4sure Microsoft 70-511 PDF Dumps Free Download --------------------------------------------------- Images: http://examgod.com/plimages/1e9724042f0e_D7B7/2011.jpg http://examgod.com/plimages/1e9724042f0e_D7B7/2041.jpg http://farm6.staticflickr.com/5519/12735191534_5e1c8038d7_o_d.gif --------------------------------------------------- --------------------------------------------------- Post date: 2014-03-24 07:26:07 Post date GMT: 2014-03-24 07:26:07 Post modified date: 2014-03-24 07:26:07 Post modified date GMT: 2014-03-24 07:26:07 ____________________________________________________________________________________________ Export of Post and Page as text file has been powered by [ Universal Post Manager ] plugin from www.gconverters.com