MediaElement.ScriptCommand 事件

定義

媒體中有指令碼命令時發生。Occurs when a script command is encountered in the media.

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) 

事件類型

EventHandler<MediaScriptCommandRoutedEventArgs>

備註

路由事件資訊Routed Event Information

識別碼欄位Identifier field ScriptCommandEvent
路由策略Routing strategy 路由Bubbling
代理人Delegate EventHandler,具有的條件約束 MediaScriptCommandRoutedEventArgsEventHandler, with constraint of MediaScriptCommandRoutedEventArgs

適用於

另請參閱