'Declaration
Public Event MediaCommand As System.Windows.Media.MediaCommandEventHandler
'Usage
Dim instance As RowHeader Dim handler As System.Windows.Media.MediaCommandEventHandler AddHandler instance.MediaCommand, handler
public event System.Windows.Media.MediaCommandEventHandler MediaCommand
public event MediaCommand: System.Windows.Media.MediaCommandEventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event System.Windows.Media.MediaCommandEventHandler* MediaCommand
public: event System.Windows.Media.MediaCommandEventHandler^ MediaCommand
The event handler receives an argument of type System.Windows.Media.MediaCommandEventArgs containing data related to this event. The following MediaCommandEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Handled | Gets or sets a value that indicates whether the routed event has been handled. |
MediaCommand | Gets the media command associated with the event. |
OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2