MediaCommand Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Provides common remote control button commands.

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

Syntax

'Declaration
Public Enumeration MediaCommand
public enum MediaCommand

Members

Member name Description
Play A command to start playback of the video.
Pause A command to temporarily stop the video playback.
TogglePlayPause A command to switch between video playback and temporarily stopping the video playback.
Stop A command to halt video playback.
Record A command to start capture of the video signal.
FastForward A command to advance the video at an accelerated speed.
Rewind A command to reverse the video at an accelerated speed.
NextTrack A command to skip to the next track in the currently playing video.
PreviousTrack A command to skip to the previous track in the currently playing video.
IncreaseVolume A command to increase the audio volume.
DecreaseVolume A command to lower the volume.
ChannelUp A command to increment the channel.
ChannelDown A command to decrement the channel.
MuteVolume A command to silence the audio.
Menu A command to display a menu.
Title A command to display the title of the currently playing video.
Info A command to display information about the current system.
Display A command to show the options for changing the video display.
Guide A command to display the television schedule.
TV A command to switch remote input focus to the television.

Remarks

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

  • Menu

  • Title

  • Info

  • Display

  • Guide

  • TV

Version Information

Silverlight

Supported in: 5

Platforms

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