Microsoft
70-511 · Question #202
You are developing a Windows Presentation Foundation (WPF) application. The application has several visual controls on a main page. You need to restyle all of the UI-related elements on the main…
The correct answer is B. UIElement. See the full explanation below for the reasoning.
Question
You are developing a Windows Presentation Foundation (WPF) application. The application has several visual controls on a main page. You need to restyle all of the UI-related elements on the main page at run time. Which class should you use to reference all these elements in a single call?
Options
- AContentElement
- BUIElement
- CVisualTreeHelper
- DLogicalTreeHelper
How the community answered
(20 responses)- A10% (2)
- B80% (16)
- C5% (1)
- D5% (1)
Community Discussion
No community discussion yet for this question.