nerdexam
Microsoft

70-511 · Question #165

You are developing a Windows Presentation Foundation (WPF) application. You need to use XAML to create a custom control that contains two Button controls. From which base class should you inherit?

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

Question

You are developing a Windows Presentation Foundation (WPF) application. You need to use XAML to create a custom control that contains two Button controls. From which base class should you inherit?

Options

  • AFrameworkElement
  • BUIEIement
  • CUserControl
  • DButton

How the community answered

(20 responses)
  • B
    5% (1)
  • C
    85% (17)
  • D
    10% (2)

Community Discussion

No community discussion yet for this question.

Full 70-511 Practice