MediaCommands MediaCommands MediaCommands MediaCommands Class

Definition

Provides a standard set of media related commands.

public ref class MediaCommands abstract sealed
public static class MediaCommands
type MediaCommands = class
Public Class MediaCommands
Inheritance
MediaCommandsMediaCommandsMediaCommandsMediaCommands

Remarks

The commands in the MediaCommands class and commands in the other command library classes, such as ComponentCommands and ApplicationCommands, are intended to represent a set of common commands that application programmers encounter frequently. The commands only represent the instance of the RoutedCommand and not the implementation logic for the command. The implementation logic is bound to the command via a CommandBindings. For example, if the Play command is executed on a control (the command target), the logic which performs the Play command may not be provided by the command target, so the application writer will be responsible for writing the logic that determines how the command target will handle the command.

Many controls do provide implementation logic for many of the commands in the command library. For example, the TextBox class provides logic for the Paste command, Cut command, Copy command, Undo command, and Redo command.

For more information on commands and commanding see the Commanding Overview.

Properties

BoostBass BoostBass BoostBass BoostBass

Gets the value that represents the Boost Base command.

ChannelDown ChannelDown ChannelDown ChannelDown

Gets the value that represents the Channel Down command.

ChannelUp ChannelUp ChannelUp ChannelUp

Gets the value that represents the Channel Up command.

DecreaseBass DecreaseBass DecreaseBass DecreaseBass

Gets the value that represents the Decrease Bass command.

DecreaseMicrophoneVolume DecreaseMicrophoneVolume DecreaseMicrophoneVolume DecreaseMicrophoneVolume

Gets the value that represents the Decrease Microphone Volume command.

DecreaseTreble DecreaseTreble DecreaseTreble DecreaseTreble

Gets the value that represents the Decrease Treble command.

DecreaseVolume DecreaseVolume DecreaseVolume DecreaseVolume

Gets the value that represents the Decrease Volume command.

FastForward FastForward FastForward FastForward

Gets the value that represents the Fast Forward command.

IncreaseBass IncreaseBass IncreaseBass IncreaseBass

Gets the value that represents the Increase Bass command.

IncreaseMicrophoneVolume IncreaseMicrophoneVolume IncreaseMicrophoneVolume IncreaseMicrophoneVolume

Gets the value that represents the Increase Microphone Volume command.

IncreaseTreble IncreaseTreble IncreaseTreble IncreaseTreble

Gets the value that represents the Increase Treble command.

IncreaseVolume IncreaseVolume IncreaseVolume IncreaseVolume

Gets the value that represents the Increase Volume command.

MuteMicrophoneVolume MuteMicrophoneVolume MuteMicrophoneVolume MuteMicrophoneVolume

Gets the value that represents the Mute Microphone Volume command.

MuteVolume MuteVolume MuteVolume MuteVolume

Gets the value that represents the Mute Volume command.

NextTrack NextTrack NextTrack NextTrack

Gets the value that represents the Next Track command.

Pause Pause Pause Pause

Gets the value that represents the Pause command.

Play Play Play Play

Gets the value that represents the Play command.

PreviousTrack PreviousTrack PreviousTrack PreviousTrack

Gets the value that represents the Previous Track command.

Record Record Record Record

Gets the value that represents the Record command.

Rewind Rewind Rewind Rewind

Gets the value that represents the Rewind command.

Select Select Select Select

Gets the value that represents the Select command.

Stop Stop Stop Stop

Gets the value that represents the Stop command.

ToggleMicrophoneOnOff ToggleMicrophoneOnOff ToggleMicrophoneOnOff ToggleMicrophoneOnOff

Gets the value that represents the Toggle Microphone On Off command.

TogglePlayPause TogglePlayPause TogglePlayPause TogglePlayPause

Gets the value that represents the Toggle Play Pause command.

Applies to

See Also