PrepAway - Latest Free Exam Questions & Answers

Which XAML fragment should you use?

You are developing a Silverlight 4 application. You need to add a MediaElement control that handles when the media has finished playing. Which XAML fragment should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
<MediaElement x:Name=”MediaElement1″ AutoPlay=”True” MediaEnded=”MediaElement1_MediaEnded”/>

B.
<MediaElement x:Name=”MediaElement1″ AutoPlay=”True” MediaOpened=”MediaElement1_MediaOpened”/>

C.
<MediaElement x:Name=”MediaElement1″ AutoPlay=”True” MarkerReached=”MediaElement1_MarkerReached”/>

D.
<MediaElement x:Name=”MediaElement1″ AutoPlay=”True” CurrentStateChanged=”MediaElement1_CurrentStateChanged” />


Leave a Reply