nerdexam
Microsoft

70-511 · Question #245

You are developing a Windows Presentation Foundation (WPF) application that plays video clips. The markup is as follows. You need to ensure that the current running time of the video is…

The correct answer is B. Register for the myMediaTimeline CurrentTimelnvalidated event and add the following line. See the full explanation below for the reasoning.

Question

You are developing a Windows Presentation Foundation (WPF) application that plays video clips. The markup is as follows. You need to ensure that the current running time of the video is automatically updated and displayed in CurrentRunTime. What should you do?

Exhibit

70-511 question #245 exhibit

Options

  • ARegister for the myMediaTimeline Changed event and add the following line in the event
  • BRegister for the myMediaTimeline CurrentTimelnvalidated event and add the following line
  • CRegister for the myMediaTimeline Changed event and add the following line in the event
  • DRegister for the myMediaTimeline CurrentTimelnvalidated event and add the following line

How the community answered

(25 responses)
  • A
    4% (1)
  • B
    80% (20)
  • C
    12% (3)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 70-511 Practice