nerdexam
Microsoft

70-511 · Question #119

You are developing a Windows Presentation Foundation (WPF) application. The MainWindow.xaml file contains a TreeView control with a DataTemplate that displays three levels in the following…

The correct answer is D. Set the Item Source for the Menu control to the ItemSource value of the TreeView control. See the full explanation below for the reasoning.

Question

You are developing a Windows Presentation Foundation (WPF) application. The MainWindow.xaml file contains a TreeView control with a DataTemplate that displays three levels in the following hierarchical order: 1. Household

Options

  • ASet the ItemSource for the Menu control to the ResourceKey value of the TreeView's
  • BSet the ItemSource for the Menu control to the ItemSource value of the TreeView control.
  • CSet the ItemSource for the Menu control to the ResourceKey value of the TreeView's
  • DSet the Item Source for the Menu control to the ItemSource value of the TreeView control.
  • IChildren

How the community answered

(29 responses)
  • A
    7% (2)
  • B
    14% (4)
  • C
    3% (1)
  • D
    76% (22)

Community Discussion

No community discussion yet for this question.

Full 70-511 Practice