nerdexam
Microsoft

70-511 · Question #109

You are developing a Windows Presentation Foundation (WPF) application. You have a class named Orders, which contains OrderId and ShipOn properties. You place a control in the MainWindow.xaml file…

The correct answer is C. <ItemsControl.Itemlempiate>. See the full explanation below for the reasoning.

Question

You are developing a Windows Presentation Foundation (WPF) application. You have a class named Orders, which contains OrderId and ShipOn properties. You place a control in the MainWindow.xaml file, as follows. (Line numbers are included for reference only.) When you run the application, the ComboBox control displays the class name for every row. You need to ensure that the ComboBox control displays the OrderId and ShipOn values in columns. Which markup segment should you add at line 03?

Options

  • A<ItemsControl.ItemsPanel>
  • B<ItemsControl.ItemTempIate>
  • C<ItemsControl.Itemlempiate>
  • D<ItemsControl.ItemsPanel>

How the community answered

(31 responses)
  • A
    6% (2)
  • B
    16% (5)
  • C
    74% (23)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 70-511 Practice