Export (0) Print
Expand All

UIElement.MediaCommand Event

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