MediaPlayer.ScriptCommand 事件

定义

当在媒体中遇到脚本命令时发生。

public:
 event EventHandler<System::Windows::Media::MediaScriptCommandEventArgs ^> ^ ScriptCommand;
public event EventHandler<System.Windows.Media.MediaScriptCommandEventArgs> ScriptCommand;
member this.ScriptCommand : EventHandler<System.Windows.Media.MediaScriptCommandEventArgs> 
Public Custom Event ScriptCommand As EventHandler(Of MediaScriptCommandEventArgs) 

事件类型

EventHandler<MediaScriptCommandEventArgs>

注解

XAML 属性用法

<object ScriptCommand="EventHandler"/>  

适用于