67 references to ComponentCommands
PresentationCore (7)
System\Windows\Input\Command\ComponentCommands.cs (1)
519
RoutedUICommand newCommand = new RoutedUICommand(GetPropertyName(idCommand), typeof(
ComponentCommands
), (byte)idCommand);
System\Windows\Input\Command\RoutedCommand.cs (2)
268
else if(OwnerType == typeof(
ComponentCommands
))
270
return
ComponentCommands
.LoadDefaultGestureFromResource(_commandId);
System\Windows\Input\Command\RoutedUICommand.cs (2)
105
else if(OwnerType == typeof(
ComponentCommands
))
107
return
ComponentCommands
.GetUIText(CommandId);
System\Windows\Input\Stylus\Common\StylusLogic.cs (2)
756
RoutedUICommand command = GetIsScrollUp(flickData) ?
ComponentCommands
.ScrollPageUp :
ComponentCommands
.ScrollPageDown;
PresentationFramework (60)
System\Windows\Controls\DocumentViewer.cs (24)
1560
ComponentCommands
.ScrollPageUp,
1569
ComponentCommands
.ScrollPageDown,
1578
ComponentCommands
.ScrollPageLeft,
1587
ComponentCommands
.ScrollPageRight,
1596
ComponentCommands
.MoveUp,
1605
ComponentCommands
.MoveDown,
1614
ComponentCommands
.MoveLeft,
1623
ComponentCommands
.MoveRight,
1771
else if (args.Command ==
ComponentCommands
.ScrollPageUp ||
1772
args.Command ==
ComponentCommands
.MoveUp)
1778
else if (args.Command ==
ComponentCommands
.ScrollPageDown ||
1779
args.Command ==
ComponentCommands
.MoveDown)
1785
else if (args.Command ==
ComponentCommands
.ScrollPageLeft ||
1786
args.Command ==
ComponentCommands
.MoveLeft)
1792
else if (args.Command ==
ComponentCommands
.ScrollPageRight ||
1793
args.Command ==
ComponentCommands
.MoveRight)
1880
else if (args.Command ==
ComponentCommands
.ScrollPageUp)
1884
else if (args.Command ==
ComponentCommands
.ScrollPageDown)
1888
else if (args.Command ==
ComponentCommands
.ScrollPageLeft)
1892
else if (args.Command ==
ComponentCommands
.ScrollPageRight)
1896
else if (args.Command ==
ComponentCommands
.MoveUp)
1900
else if (args.Command ==
ComponentCommands
.MoveDown)
1904
else if (args.Command ==
ComponentCommands
.MoveLeft)
1908
else if (args.Command ==
ComponentCommands
.MoveRight)
System\Windows\Controls\ScrollViewer.cs (6)
2534
|| args.Command ==
ComponentCommands
.ScrollPageUp )
2539
|| args.Command ==
ComponentCommands
.ScrollPageDown )
2595
if ( args.Command ==
ComponentCommands
.ScrollPageUp
2596
|| args.Command ==
ComponentCommands
.ScrollPageDown )
2655
CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer),
ComponentCommands
.ScrollPageUp, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2656
CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer),
ComponentCommands
.ScrollPageDown, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
System\Windows\Input\Command\CommandConverter.cs (30)
205
commandType == typeof(
ComponentCommands
) ||
382
if (ownerType == typeof(
ComponentCommands
) || ((null == knownCommand) && searchAll))
387
knownCommand =
ComponentCommands
.ScrollPageLeft;
390
knownCommand =
ComponentCommands
.ScrollPageRight;
393
knownCommand =
ComponentCommands
.ScrollPageUp;
396
knownCommand =
ComponentCommands
.ScrollPageDown;
399
knownCommand =
ComponentCommands
.ScrollByLine;
402
knownCommand =
ComponentCommands
.MoveLeft;
405
knownCommand =
ComponentCommands
.MoveRight;
408
knownCommand =
ComponentCommands
.MoveUp;
411
knownCommand =
ComponentCommands
.MoveDown;
414
knownCommand =
ComponentCommands
.ExtendSelectionUp;
417
knownCommand =
ComponentCommands
.ExtendSelectionDown;
420
knownCommand =
ComponentCommands
.ExtendSelectionLeft;
423
knownCommand =
ComponentCommands
.ExtendSelectionRight;
426
knownCommand =
ComponentCommands
.MoveToHome;
429
knownCommand =
ComponentCommands
.MoveToEnd;
432
knownCommand =
ComponentCommands
.MoveToPageUp;
435
knownCommand =
ComponentCommands
.MoveToPageDown;
438
knownCommand =
ComponentCommands
.SelectToHome;
441
knownCommand =
ComponentCommands
.SelectToEnd;
444
knownCommand =
ComponentCommands
.SelectToPageDown;
447
knownCommand =
ComponentCommands
.SelectToPageUp;
450
knownCommand =
ComponentCommands
.MoveFocusUp;
453
knownCommand =
ComponentCommands
.MoveFocusDown;
456
knownCommand =
ComponentCommands
.MoveFocusBack;
459
knownCommand =
ComponentCommands
.MoveFocusForward;
462
knownCommand =
ComponentCommands
.MoveFocusPageUp;
465
knownCommand =
ComponentCommands
.MoveFocusPageDown;
751
VerifyCommandDoesntExist( typeof(
ComponentCommands
), localName );