nerdexam
Microsoft

70-518 · Question #44

You are designing an application by using Windows Presentation Foundation (WPF) and Microsoft .NET Framework 4. You create a control named HelpViewer to view the Help documentation of the…

The correct answer is C. Add the HelpViewer control and a Frame control to a DockPanel control to the window at. See the full explanation below for the reasoning.

Question

You are designing an application by using Windows Presentation Foundation (WPF) and Microsoft .NET Framework 4. You create a control named HelpViewer to view the Help documentation of the application. The HelpViewer control must be available to al windows in the application. You need to ensure that the application allows users to perform the following tasks:

  • Bookmark their location in the documentation and return to the

bookmark from any window.

  • Hide the HelpViewer control.
  • Dock the HelpViewer control.

You create a main window as a base class. What should you do next?

Options

  • AAdd the HelpViewer control to the window at runtime.
  • BAdd the HelpViewer control to a DockPanel control at runtime.
  • CAdd the HelpViewer control and a Frame control to a DockPanel control to the window at
  • DAdd the HelpViewer control and a Frame control to a StackPanel control to the window at

How the community answered

(48 responses)
  • A
    10% (5)
  • B
    6% (3)
  • C
    81% (39)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 70-518 Practice