55 references to MediaCommands
PresentationCore (29)
Core\CSharp\System\Windows\Input\Command\CommandDevice.cs (24)
172
appCommand =
MediaCommands
.MuteVolume;
175
appCommand =
MediaCommands
.DecreaseVolume;
178
appCommand =
MediaCommands
.IncreaseVolume;
181
appCommand =
MediaCommands
.NextTrack;
184
appCommand =
MediaCommands
.PreviousTrack;
187
appCommand =
MediaCommands
.Stop;
190
appCommand =
MediaCommands
.TogglePlayPause;
197
appCommand =
MediaCommands
.Select;
200
appCommand =
MediaCommands
.DecreaseBass;
203
appCommand =
MediaCommands
.BoostBass;
206
appCommand =
MediaCommands
.IncreaseBass;
209
appCommand =
MediaCommands
.DecreaseTreble;
212
appCommand =
MediaCommands
.IncreaseTreble;
215
appCommand =
MediaCommands
.MuteMicrophoneVolume;
218
appCommand =
MediaCommands
.DecreaseMicrophoneVolume;
221
appCommand =
MediaCommands
.IncreaseMicrophoneVolume;
266
appCommand =
MediaCommands
.ToggleMicrophoneOnOff;
272
appCommand =
MediaCommands
.Play;
275
appCommand =
MediaCommands
.Pause;
278
appCommand =
MediaCommands
.Record;
281
appCommand =
MediaCommands
.FastForward;
284
appCommand =
MediaCommands
.Rewind;
287
appCommand =
MediaCommands
.ChannelUp;
290
appCommand =
MediaCommands
.ChannelDown;
Core\CSharp\System\Windows\Input\Command\MediaCommands.cs (1)
463
RoutedUICommand newCommand = new RoutedUICommand(GetPropertyName(idCommand), typeof(
MediaCommands
), (byte)idCommand);
Core\CSharp\System\Windows\Input\Command\RoutedCommand.cs (2)
290
else if(OwnerType == typeof(
MediaCommands
))
292
return
MediaCommands
.LoadDefaultGestureFromResource(_commandId);
Core\CSharp\System\Windows\Input\Command\RoutedUICommand.cs (2)
106
else if(OwnerType == typeof(
MediaCommands
))
108
return
MediaCommands
.GetUIText(CommandId);
PresentationFramework (26)
src\Framework\System\Windows\Input\Command\CommandConverter.cs (26)
216
commandType == typeof(
MediaCommands
))
673
if (ownerType == typeof(
MediaCommands
) || ((null == knownCommand) && searchAll))
678
knownCommand =
MediaCommands
.Play;
681
knownCommand =
MediaCommands
.Pause;
684
knownCommand =
MediaCommands
.Stop;
687
knownCommand =
MediaCommands
.Record;
690
knownCommand =
MediaCommands
.NextTrack;
693
knownCommand =
MediaCommands
.PreviousTrack;
696
knownCommand =
MediaCommands
.FastForward;
699
knownCommand =
MediaCommands
.Rewind;
702
knownCommand =
MediaCommands
.ChannelUp;
705
knownCommand =
MediaCommands
.ChannelDown;
708
knownCommand =
MediaCommands
.TogglePlayPause;
711
knownCommand =
MediaCommands
.IncreaseVolume;
714
knownCommand =
MediaCommands
.DecreaseVolume;
717
knownCommand =
MediaCommands
.MuteVolume;
720
knownCommand =
MediaCommands
.IncreaseTreble;
723
knownCommand =
MediaCommands
.DecreaseTreble;
726
knownCommand =
MediaCommands
.IncreaseBass;
729
knownCommand =
MediaCommands
.DecreaseBass;
732
knownCommand =
MediaCommands
.BoostBass;
735
knownCommand =
MediaCommands
.IncreaseMicrophoneVolume;
738
knownCommand =
MediaCommands
.DecreaseMicrophoneVolume;
741
knownCommand =
MediaCommands
.MuteMicrophoneVolume;
744
knownCommand =
MediaCommands
.ToggleMicrophoneOnOff;
747
knownCommand =
MediaCommands
.Select;