nerdexam
Microsoft

70-511 · Question #127

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application displays a list of books. You write the following code fragment. (Line numbers are…

The correct answer is B. <Style.Triggers>. See the full explanation below for the reasoning.

Question

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application displays a list of books. You write the following code fragment. (Line numbers are included for reference only.) You need to ensure that book titles that are out of stock appear in red. Which code fragment should you insert at line 12?

Exhibit

70-511 question #127 exhibit

Options

  • A<Style.Triggers>
  • B<Style.Triggers>
  • C<Style.Triggers>
  • D<Style.Triggers>

How the community answered

(22 responses)
  • A
    5% (1)
  • B
    82% (18)
  • C
    5% (1)
  • D
    9% (2)

Community Discussion

No community discussion yet for this question.

Full 70-511 Practice