MediaElement.ScriptCommand 事件

定义

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

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

事件类型

注解

路由事件信息

标识符字段 ScriptCommandEvent
路由策略 鼓 泡
委托 EventHandler,约束为 MediaScriptCommandRoutedEventArgs

适用于