64 references to ComponentCommands
PresentationCore (5)
Core\CSharp\System\Windows\Input\Command\ComponentCommands.cs (1)
524
RoutedUICommand newCommand = new RoutedUICommand(GetPropertyName(idCommand), typeof(
ComponentCommands
), (byte)idCommand);
Core\CSharp\System\Windows\Input\Command\RoutedCommand.cs (2)
294
else if(OwnerType == typeof(
ComponentCommands
))
296
return
ComponentCommands
.LoadDefaultGestureFromResource(_commandId);
Core\CSharp\System\Windows\Input\Command\RoutedUICommand.cs (2)
110
else if(OwnerType == typeof(
ComponentCommands
))
112
return
ComponentCommands
.GetUIText(CommandId);
PresentationFramework (59)
src\Framework\System\Windows\Controls\DocumentViewer.cs (24)
1585
ComponentCommands
.ScrollPageUp,
1594
ComponentCommands
.ScrollPageDown,
1603
ComponentCommands
.ScrollPageLeft,
1612
ComponentCommands
.ScrollPageRight,
1621
ComponentCommands
.MoveUp,
1630
ComponentCommands
.MoveDown,
1639
ComponentCommands
.MoveLeft,
1648
ComponentCommands
.MoveRight,
1804
else if (args.Command ==
ComponentCommands
.ScrollPageUp ||
1805
args.Command ==
ComponentCommands
.MoveUp)
1811
else if (args.Command ==
ComponentCommands
.ScrollPageDown ||
1812
args.Command ==
ComponentCommands
.MoveDown)
1818
else if (args.Command ==
ComponentCommands
.ScrollPageLeft ||
1819
args.Command ==
ComponentCommands
.MoveLeft)
1825
else if (args.Command ==
ComponentCommands
.ScrollPageRight ||
1826
args.Command ==
ComponentCommands
.MoveRight)
1914
else if (args.Command ==
ComponentCommands
.ScrollPageUp)
1918
else if (args.Command ==
ComponentCommands
.ScrollPageDown)
1922
else if (args.Command ==
ComponentCommands
.ScrollPageLeft)
1926
else if (args.Command ==
ComponentCommands
.ScrollPageRight)
1930
else if (args.Command ==
ComponentCommands
.MoveUp)
1934
else if (args.Command ==
ComponentCommands
.MoveDown)
1938
else if (args.Command ==
ComponentCommands
.MoveLeft)
1942
else if (args.Command ==
ComponentCommands
.MoveRight)
src\Framework\System\Windows\Controls\ScrollViewer.cs (6)
2574
|| args.Command ==
ComponentCommands
.ScrollPageUp )
2579
|| args.Command ==
ComponentCommands
.ScrollPageDown )
2635
if ( args.Command ==
ComponentCommands
.ScrollPageUp
2636
|| args.Command ==
ComponentCommands
.ScrollPageDown )
2695
CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer),
ComponentCommands
.ScrollPageUp, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2696
CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer),
ComponentCommands
.ScrollPageDown, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
src\Framework\System\Windows\Input\Command\CommandConverter.cs (29)
215
commandType == typeof(
ComponentCommands
) ||
394
if (ownerType == typeof(
ComponentCommands
) || ((null == knownCommand) && searchAll))
399
knownCommand =
ComponentCommands
.ScrollPageLeft;
402
knownCommand =
ComponentCommands
.ScrollPageRight;
405
knownCommand =
ComponentCommands
.ScrollPageUp;
408
knownCommand =
ComponentCommands
.ScrollPageDown;
411
knownCommand =
ComponentCommands
.ScrollByLine;
414
knownCommand =
ComponentCommands
.MoveLeft;
417
knownCommand =
ComponentCommands
.MoveRight;
420
knownCommand =
ComponentCommands
.MoveUp;
423
knownCommand =
ComponentCommands
.MoveDown;
426
knownCommand =
ComponentCommands
.ExtendSelectionUp;
429
knownCommand =
ComponentCommands
.ExtendSelectionDown;
432
knownCommand =
ComponentCommands
.ExtendSelectionLeft;
435
knownCommand =
ComponentCommands
.ExtendSelectionRight;
438
knownCommand =
ComponentCommands
.MoveToHome;
441
knownCommand =
ComponentCommands
.MoveToEnd;
444
knownCommand =
ComponentCommands
.MoveToPageUp;
447
knownCommand =
ComponentCommands
.MoveToPageDown;
450
knownCommand =
ComponentCommands
.SelectToHome;
453
knownCommand =
ComponentCommands
.SelectToEnd;
456
knownCommand =
ComponentCommands
.SelectToPageDown;
459
knownCommand =
ComponentCommands
.SelectToPageUp;
462
knownCommand =
ComponentCommands
.MoveFocusUp;
465
knownCommand =
ComponentCommands
.MoveFocusDown;
468
knownCommand =
ComponentCommands
.MoveFocusBack;
471
knownCommand =
ComponentCommands
.MoveFocusForward;
474
knownCommand =
ComponentCommands
.MoveFocusPageUp;
477
knownCommand =
ComponentCommands
.MoveFocusPageDown;