nerdexam
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)
  • A
    10% (2)
  • B
    80% (16)
  • C
    5% (1)
  • D
    5% (1)

Community Discussion

No community discussion yet for this question.

Full 70-511 Practice