nerdexam
Microsoft

70-511 · Question #17

You use Microsoft .NET Framework 4 to create a Windows Presentation Framework (WPF) application. You plan to create a custom control that contains four text input fields. Each of the text input…

The correct answer is D. UserControl. See the full explanation below for the reasoning.

Question

You use Microsoft .NET Framework 4 to create a Windows Presentation Framework (WPF) application. You plan to create a custom control that contains four text input fields. Each of the text input fields within the control will contain a label. You need to ensure that the text input fields within the control can be validated by using a regular expression validator. Which class should you inherit from?

Options

  • ATextBox
  • BTextElement
  • CUIElement
  • DUserControl

How the community answered

(34 responses)
  • A
    18% (6)
  • B
    9% (3)
  • C
    3% (1)
  • D
    71% (24)

Community Discussion

No community discussion yet for this question.

Full 70-511 Practice