Share via


SmoothStreamingMediaElement.MediaEnded Event

Occurs when media playback reaches the end.

Namespace:  Microsoft.Web.Media.SmoothStreaming
Assembly:  Microsoft.Web.Media.SmoothStreaming (in Microsoft.Web.Media.SmoothStreaming.dll)

Syntax

'Declaration

Public Event MediaEnded As RoutedEventHandler
'Usage

Dim instance As SmoothStreamingMediaElement
Dim handler As RoutedEventHandler

AddHandler instance.MediaEnded, handler
public event RoutedEventHandler MediaEnded
public:
 event RoutedEventHandler^ MediaEnded {
    void add (RoutedEventHandler^ value);
    void remove (RoutedEventHandler^ value);
}
member MediaEnded : <RoutedEventHandler,
    RoutedEventArgs>
JScript supports the use of events, but not the declaration of new ones.

Remarks

For more information, see Events.

Version Information

Silverlight

Supported in: 5

Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

See Also

Reference

SmoothStreamingMediaElement Class

Microsoft.Web.Media.SmoothStreaming Namespace