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 a 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?
A.
• Add the HelpViewer control to the window at runtime. • Inherit all other window classes
in the application from the main window base class.
B.
• Add the HelpViewer control to a DockPanel control at runtime. • Inherit all other window
classes in the application from the main window base class.
C.
• A dd t he H elpViewer c ontrol and a F rame control to a D ockPanel c ontrol to the
window at runtime. • Create all other windows in the application as pages and host them in
the Frame control.
D.
• Add t he HelpViewer control a nd a Frame c ontrol t o a StackPanel control to the w
indow a t runtime. • Create all other windows in the application as pages and host them in
the Frame control.