nerdexam
Microsoft

70-511 · Question #19

70-511 Question #19: Real Exam Question with Answer & Explanation

Sign in or unlock 70-511 to reveal the answer and full explanation for question #19. The question stem and answer options stay visible for context.

Question

You use Microsoft .NET Framework 4 to create a Windows Forms application. You plan to use a Windows Presentation Foundation (WPF) control of the UserControl1 type hosted in an ElementHost control named elementHost1. You write the following code segment. (Line numbers are included for reference only.) You need to ensure that the application changes the background color of the hosted control when the background color of the form changes. Which code segment should you insert at line O5?

Exhibit

70-511 question #19 exhibit

Options

  • AelementHost1.PropertyMap.Remove ("BackColor");
  • BelementHost1. PropertyMap.Remove ("Background");
  • CelementHost1.PropertyMap.Add("BackColor", new PropertyTranslator
  • DelementHost1.PropertyMap.Add("Background", new PropertyTranslator

Unlock 70-511 to see the answer

You've previewed enough free 70-511 questions. Unlock 70-511 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 70-511 Practice