ComponentOne MediaPlayer for WPF and Silverlight
ScriptCommand Event

C1.WPF.MediaPlayer Namespace > C1MediaPlayer Class : ScriptCommand Event
Occurs when a script command has been encountered within the media.
Syntax
'Declaration
 
Public Event ScriptCommand As EventHandler(Of MediaScriptCommandEventArgs)
public event EventHandler<MediaScriptCommandEventArgs> ScriptCommand
Event Data

The event handler receives an argument of type MediaScriptCommandEventArgs containing data related to this event. The following MediaScriptCommandEventArgs properties provide information specific to this event.

PropertyDescription
Gets the type of script command that was raised.  
Gets the arguments associated with the script command type.  
See Also