共用方式為


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 Attribute Usage

<object ScriptCommand="EventHandler"/>  

適用於