nerdexam
Microsoft

70-511 · Question #228

70-511 Question #228: Real Exam Question with Answer & Explanation

The correct answer is A. <ItemsControl.ItemTemplate>. 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 Orderld and ShipOn values in columns. Which markup segment should you add at line 03?

Options

  • A<ItemsControl.ItemTemplate>
  • B<ItemsControlTemplate>
  • C<ItemsControl.ItemsPanel>
  • D<ItemsControl.ItemsPanel>

Community Discussion

No community discussion yet for this question.

Full 70-511 Practice