SpreadsheetGear 2017
MediaCommand Event (WorkbookView)






SpreadsheetGear.Windows.Controls Namespace > WorkbookView Class : MediaCommand Event
Syntax
'Declaration
 
Public Event MediaCommand As System.Windows.Media.MediaCommandEventHandler
'Usage
 
Dim instance As WorkbookView
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
Event Data

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.

PropertyDescription
Gets or sets a value that indicates whether the routed event has been handled.  
Gets the media command associated with the event.  
(Inherited from System.Windows.RoutedEventArgs)
Requirements

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

See Also