Microsoft
70-511 · Question #196
You are developing a Windows Presentation Foundation (WPF) application to display service cases by category in a ListBox. You create a class named Case with the properties Description and Category…
The correct answer is C. Add the following markup segment to CollectionViewSource. See the full explanation below for the reasoning.
Question
You are developing a Windows Presentation Foundation (WPF) application to display service cases by category in a ListBox. You create a class named Case with the properties Description and Category, as follows. You bind to the IstService control a static resource named ServiceCases. You need to ensure that the service cases are grouped by category. What should you do in the MainWindow.xaml file?
Exhibit
Options
- AAdd the following markup segment to ListBox.Binding.
- BAdd the following markup segment to DockPanel.Binding.
- CAdd the following markup segment to CollectionViewSource.
- DAdd the following markup segment to CollectionViewSource.
How the community answered
(43 responses)- A12% (5)
- B7% (3)
- C77% (33)
- D5% (2)
Community Discussion
No community discussion yet for this question.
