Redigeeri

Jagamisviis:


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
MediaCommands

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

Gets the value that represents the Boost Base command.

ChannelDown

Gets the value that represents the Channel Down command.

ChannelUp

Gets the value that represents the Channel Up command.

DecreaseBass

Gets the value that represents the Decrease Bass command.

DecreaseMicrophoneVolume

Gets the value that represents the Decrease Microphone Volume command.

DecreaseTreble

Gets the value that represents the Decrease Treble command.

DecreaseVolume

Gets the value that represents the Decrease Volume command.

FastForward

Gets the value that represents the Fast Forward command.

IncreaseBass

Gets the value that represents the Increase Bass command.

IncreaseMicrophoneVolume

Gets the value that represents the Increase Microphone Volume command.

IncreaseTreble

Gets the value that represents the Increase Treble command.

IncreaseVolume

Gets the value that represents the Increase Volume command.

MuteMicrophoneVolume

Gets the value that represents the Mute Microphone Volume command.

MuteVolume

Gets the value that represents the Mute Volume command.

NextTrack

Gets the value that represents the Next Track command.

Pause

Gets the value that represents the Pause command.

Play

Gets the value that represents the Play command.

PreviousTrack

Gets the value that represents the Previous Track command.

Record

Gets the value that represents the Record command.

Rewind

Gets the value that represents the Rewind command.

Select

Gets the value that represents the Select command.

Stop

Gets the value that represents the Stop command.

ToggleMicrophoneOnOff

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

TogglePlayPause

Gets the value that represents the Toggle Play Pause command.

Applies to

See also