Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.