Answers
This section contains the answers to the Objective Reviews and the Thought Experiments.
Objective 2.1: Review
Correct Answer: B
Incorrect: The WindowsFormsHost allows you to host a Windows Forms control in a WPF application.
Correct: The ElementHost allows you to host a WPF control in a Windows Forms application.
Incorrect: The Grid element is a container that hosts other controls in a WPF application, but it cannot be used independently in Windows Forms applications.
Incorrect: The Form class is the base class for Windows Forms application, but it cannot host WPF controls independently.
Correct Answer: D
Incorrect: Windows Forms lack the required responsiveness to styles for this application.
Incorrect: WPF does not have an inherent MaskedTextBox ...
Get MCPD 70-518 Exam Ref: Designing and Developing Windows® Applications Using Microsoft® .NET Framework 4 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.