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