Microsoft
70-511 · Question #241
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 B. Set the ItemSource 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 ItemSource value of the TreeView control.
- DSet the ItemSource for the Menu control to the ResourceKey value of the TreeView's
- IChildren
How the community answered
(21 responses)- A10% (2)
- B71% (15)
- C14% (3)
- D5% (1)
Community Discussion
No community discussion yet for this question.