67 references to ComponentCommands
PresentationCore (7)
System\Windows\Input\Command\ComponentCommands.cs (1)
505
RoutedUICommand newCommand = new RoutedUICommand(GetPropertyName(idCommand), typeof(
ComponentCommands
), (byte)idCommand);
System\Windows\Input\Command\RoutedCommand.cs (2)
257
else if(OwnerType == typeof(
ComponentCommands
))
259
return
ComponentCommands
.LoadDefaultGestureFromResource(_commandId);
System\Windows\Input\Command\RoutedUICommand.cs (2)
101
else if(OwnerType == typeof(
ComponentCommands
))
103
return
ComponentCommands
.GetUIText(CommandId);
System\Windows\Input\Stylus\Common\StylusLogic.cs (2)
746
RoutedUICommand command = GetIsScrollUp(flickData) ?
ComponentCommands
.ScrollPageUp :
ComponentCommands
.ScrollPageDown;
PresentationFramework (60)
System\Windows\Controls\DocumentViewer.cs (24)
1548
ComponentCommands
.ScrollPageUp,
1557
ComponentCommands
.ScrollPageDown,
1566
ComponentCommands
.ScrollPageLeft,
1575
ComponentCommands
.ScrollPageRight,
1584
ComponentCommands
.MoveUp,
1593
ComponentCommands
.MoveDown,
1602
ComponentCommands
.MoveLeft,
1611
ComponentCommands
.MoveRight,
1759
else if (args.Command ==
ComponentCommands
.ScrollPageUp ||
1760
args.Command ==
ComponentCommands
.MoveUp)
1766
else if (args.Command ==
ComponentCommands
.ScrollPageDown ||
1767
args.Command ==
ComponentCommands
.MoveDown)
1773
else if (args.Command ==
ComponentCommands
.ScrollPageLeft ||
1774
args.Command ==
ComponentCommands
.MoveLeft)
1780
else if (args.Command ==
ComponentCommands
.ScrollPageRight ||
1781
args.Command ==
ComponentCommands
.MoveRight)
1868
else if (args.Command ==
ComponentCommands
.ScrollPageUp)
1872
else if (args.Command ==
ComponentCommands
.ScrollPageDown)
1876
else if (args.Command ==
ComponentCommands
.ScrollPageLeft)
1880
else if (args.Command ==
ComponentCommands
.ScrollPageRight)
1884
else if (args.Command ==
ComponentCommands
.MoveUp)
1888
else if (args.Command ==
ComponentCommands
.MoveDown)
1892
else if (args.Command ==
ComponentCommands
.MoveLeft)
1896
else if (args.Command ==
ComponentCommands
.MoveRight)
System\Windows\Controls\ScrollViewer.cs (6)
2526
|| args.Command ==
ComponentCommands
.ScrollPageUp )
2531
|| args.Command ==
ComponentCommands
.ScrollPageDown )
2587
if ( args.Command ==
ComponentCommands
.ScrollPageUp
2588
|| args.Command ==
ComponentCommands
.ScrollPageDown )
2647
CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer),
ComponentCommands
.ScrollPageUp, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2648
CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer),
ComponentCommands
.ScrollPageDown, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
System\Windows\Input\Command\CommandConverter.cs (30)
200
commandType == typeof(
ComponentCommands
) ||
377
if (ownerType == typeof(
ComponentCommands
) || ((null == knownCommand) && searchAll))
382
knownCommand =
ComponentCommands
.ScrollPageLeft;
385
knownCommand =
ComponentCommands
.ScrollPageRight;
388
knownCommand =
ComponentCommands
.ScrollPageUp;
391
knownCommand =
ComponentCommands
.ScrollPageDown;
394
knownCommand =
ComponentCommands
.ScrollByLine;
397
knownCommand =
ComponentCommands
.MoveLeft;
400
knownCommand =
ComponentCommands
.MoveRight;
403
knownCommand =
ComponentCommands
.MoveUp;
406
knownCommand =
ComponentCommands
.MoveDown;
409
knownCommand =
ComponentCommands
.ExtendSelectionUp;
412
knownCommand =
ComponentCommands
.ExtendSelectionDown;
415
knownCommand =
ComponentCommands
.ExtendSelectionLeft;
418
knownCommand =
ComponentCommands
.ExtendSelectionRight;
421
knownCommand =
ComponentCommands
.MoveToHome;
424
knownCommand =
ComponentCommands
.MoveToEnd;
427
knownCommand =
ComponentCommands
.MoveToPageUp;
430
knownCommand =
ComponentCommands
.MoveToPageDown;
433
knownCommand =
ComponentCommands
.SelectToHome;
436
knownCommand =
ComponentCommands
.SelectToEnd;
439
knownCommand =
ComponentCommands
.SelectToPageDown;
442
knownCommand =
ComponentCommands
.SelectToPageUp;
445
knownCommand =
ComponentCommands
.MoveFocusUp;
448
knownCommand =
ComponentCommands
.MoveFocusDown;
451
knownCommand =
ComponentCommands
.MoveFocusBack;
454
knownCommand =
ComponentCommands
.MoveFocusForward;
457
knownCommand =
ComponentCommands
.MoveFocusPageUp;
460
knownCommand =
ComponentCommands
.MoveFocusPageDown;
746
VerifyCommandDoesntExist( typeof(
ComponentCommands
), localName );