Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UIElement.MediaCommand Event

Silverlight

Occurs when a button is pressed on a remote control.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

public event MediaCommandEventHandler MediaCommand

The button pressed is identified by the MediaCommand property of the related MediaCommandEventArgs. The command is identified using a value from the MediaCommand enumeration. Members of this enumeration correlate with the buttons available on the most common remote controls. Some of these commands are device specific. See the Version Notes section for more information.

Version Notes

Silverlight for Xbox

MediaCommand events identified by the following values occur on Silverlight for Xbox only

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

Show:
© 2014 Microsoft