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