nerdexam
Microsoft

70-511 · Question #251

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

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

Question

You use Microsoft .NET Framework 4 to create a Windows Forms application. The application has a reference to a Windows Presentation Foundation (WPF) class library named Library1. Library1 contains a WPF user control named UserControl1. You add the following code to the application: You need to ensure that you can add the instance of UserControl1 to a control named host in Form1. Which code segment should you insert at line 09?

Exhibit

70-511 question #251 exhibit

Options

  • AWindowsFormsHost host = new WindowsFormsHost ();
  • BContainerControl host = new ContainerControl();
  • CPanel host = new Panel();
  • DElementHost host = new ElementHost();

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