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)- A7% (2)
- B14% (4)
- C3% (1)
- D76% (22)
Community Discussion
No community discussion yet for this question.