Microsoft
70-511 · Question #60
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
- BUIElement
- CUserControl
- DButton
How the community answered
(42 responses)- A7% (3)
- B2% (1)
- C79% (33)
- D12% (5)
Community Discussion
No community discussion yet for this question.