共用方式為


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

適用於