nerdexam
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

70-511 question #196 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)
  • A
    12% (5)
  • B
    7% (3)
  • C
    77% (33)
  • D
    5% (2)

Community Discussion

No community discussion yet for this question.

Full 70-511 Practice