114 references to CommandId
PresentationCore (114)
Core\CSharp\System\Windows\Input\Command\ComponentCommands.cs (114)
47get { return _EnsureCommand(CommandId.ScrollPageUp); } 55get { return _EnsureCommand(CommandId.ScrollPageDown); } 63get { return _EnsureCommand(CommandId.ScrollPageLeft); } 71get { return _EnsureCommand(CommandId.ScrollPageRight); } 79get { return _EnsureCommand(CommandId.ScrollByLine); } 87get { return _EnsureCommand(CommandId.MoveLeft); } 95get { return _EnsureCommand(CommandId.MoveRight); } 103get { return _EnsureCommand(CommandId.MoveUp); } 111get { return _EnsureCommand(CommandId.MoveDown); } 119get { return _EnsureCommand(CommandId.MoveToHome); } 127get { return _EnsureCommand(CommandId.MoveToEnd); } 135get { return _EnsureCommand(CommandId.MoveToPageUp); } 143get { return _EnsureCommand(CommandId.MoveToPageDown); } 151get { return _EnsureCommand(CommandId.ExtendSelectionUp); } 159get { return _EnsureCommand(CommandId.ExtendSelectionDown); } 167get { return _EnsureCommand(CommandId.ExtendSelectionLeft); } 175get { return _EnsureCommand(CommandId.ExtendSelectionRight); } 183get { return _EnsureCommand(CommandId.SelectToHome); } 191get { return _EnsureCommand(CommandId.SelectToEnd); } 199get { return _EnsureCommand(CommandId.SelectToPageUp); } 207get { return _EnsureCommand(CommandId.SelectToPageDown); } 215get { return _EnsureCommand(CommandId.MoveFocusUp); } 223get { return _EnsureCommand(CommandId.MoveFocusDown); } 231get { return _EnsureCommand(CommandId.MoveFocusForward); } 239get { return _EnsureCommand(CommandId.MoveFocusBack); } 247get { return _EnsureCommand(CommandId.MoveFocusPageUp); } 255get { return _EnsureCommand(CommandId.MoveFocusPageDown); } 267private static string GetPropertyName(CommandId commandId) 273case CommandId.ScrollPageUp:propertyName = "ScrollPageUp"; break; 274case CommandId.ScrollPageDown:propertyName = "ScrollPageDown"; break; 275case CommandId.ScrollPageLeft: propertyName = "ScrollPageLeft"; break; 276case CommandId.ScrollPageRight: propertyName = "ScrollPageRight"; break; 277case CommandId.ScrollByLine:propertyName = "ScrollByLine"; break; 278case CommandId.MoveLeft:propertyName = "MoveLeft";break; 279case CommandId.MoveRight:propertyName = "MoveRight";break; 280case CommandId.MoveUp:propertyName = "MoveUp"; break; 281case CommandId.MoveDown:propertyName = "MoveDown"; break; 282case CommandId.ExtendSelectionUp:propertyName = "ExtendSelectionUp"; break; 283case CommandId.ExtendSelectionDown:propertyName = "ExtendSelectionDown"; break; 284case CommandId.ExtendSelectionLeft:propertyName = "ExtendSelectionLeft"; break; 285case CommandId.ExtendSelectionRight:propertyName = "ExtendSelectionRight"; break; 286case CommandId.MoveToHome:propertyName = "MoveToHome"; break; 287case CommandId.MoveToEnd:propertyName = "MoveToEnd"; break; 288case CommandId.MoveToPageUp:propertyName = "MoveToPageUp"; break; 289case CommandId.MoveToPageDown:propertyName = "MoveToPageDown"; break; 290case CommandId.SelectToHome:propertyName = "SelectToHome"; break; 291case CommandId.SelectToEnd:propertyName = "SelectToEnd"; break; 292case CommandId.SelectToPageDown:propertyName = "SelectToPageDown"; break; 293case CommandId.SelectToPageUp:propertyName = "SelectToPageUp"; break; 294case CommandId.MoveFocusUp:propertyName = "MoveFocusUp"; break; 295case CommandId.MoveFocusDown:propertyName = "MoveFocusDown"; break; 296case CommandId.MoveFocusBack:propertyName = "MoveFocusBack"; break; 297case CommandId.MoveFocusForward:propertyName = "MoveFocusForward"; break; 298case CommandId.MoveFocusPageUp:propertyName = "MoveFocusPageUp"; break; 299case CommandId.MoveFocusPageDown:propertyName = "MoveFocusPageDown"; break; 309switch ((CommandId)commandId) 311case CommandId.ScrollPageUp: uiText = SR.Get(SRID.ScrollPageUpText); break; 312case CommandId.ScrollPageDown: uiText = SR.Get(SRID.ScrollPageDownText); break; 313case CommandId.ScrollPageLeft: uiText = SR.Get(SRID.ScrollPageLeftText); break; 314case CommandId.ScrollPageRight: uiText = SR.Get(SRID.ScrollPageRightText); break; 315case CommandId.ScrollByLine: uiText = SR.Get(SRID.ScrollByLineText); break; 316case CommandId.MoveLeft:uiText = SR.Get(SRID.MoveLeftText);break; 317case CommandId.MoveRight:uiText = SR.Get(SRID.MoveRightText);break; 318case CommandId.MoveUp: uiText = SR.Get(SRID.MoveUpText); break; 319case CommandId.MoveDown: uiText = SR.Get(SRID.MoveDownText); break; 320case CommandId.ExtendSelectionUp: uiText = SR.Get(SRID.ExtendSelectionUpText); break; 321case CommandId.ExtendSelectionDown: uiText = SR.Get(SRID.ExtendSelectionDownText); break; 322case CommandId.ExtendSelectionLeft: uiText = SR.Get(SRID.ExtendSelectionLeftText); break; 323case CommandId.ExtendSelectionRight: uiText = SR.Get(SRID.ExtendSelectionRightText); break; 324case CommandId.MoveToHome: uiText = SR.Get(SRID.MoveToHomeText); break; 325case CommandId.MoveToEnd: uiText = SR.Get(SRID.MoveToEndText); break; 326case CommandId.MoveToPageUp: uiText = SR.Get(SRID.MoveToPageUpText); break; 327case CommandId.MoveToPageDown: uiText = SR.Get(SRID.MoveToPageDownText); break; 328case CommandId.SelectToHome: uiText = SR.Get(SRID.SelectToHomeText); break; 329case CommandId.SelectToEnd: uiText = SR.Get(SRID.SelectToEndText); break; 330case CommandId.SelectToPageDown: uiText = SR.Get(SRID.SelectToPageDownText); break; 331case CommandId.SelectToPageUp: uiText = SR.Get(SRID.SelectToPageUpText); break; 332case CommandId.MoveFocusUp: uiText = SR.Get(SRID.MoveFocusUpText); break; 333case CommandId.MoveFocusDown: uiText = SR.Get(SRID.MoveFocusDownText); break; 334case CommandId.MoveFocusBack: uiText = SR.Get(SRID.MoveFocusBackText); break; 335case CommandId.MoveFocusForward: uiText = SR.Get(SRID.MoveFocusForwardText); break; 336case CommandId.MoveFocusPageUp: uiText = SR.Get(SRID.MoveFocusPageUpText); break; 337case CommandId.MoveFocusPageDown: uiText = SR.Get(SRID.MoveFocusPageDownText); break; 348switch ((CommandId)commandId) 350case CommandId.ScrollPageUp: 356case CommandId.ScrollPageDown: 362case CommandId.ScrollPageLeft: 368case CommandId.ScrollPageRight: 374case CommandId.ScrollByLine: 380case CommandId.MoveLeft: 386case CommandId.MoveRight: 392case CommandId.MoveUp: 398case CommandId.MoveDown: 404case CommandId.ExtendSelectionUp: 410case CommandId.ExtendSelectionDown: 416case CommandId.ExtendSelectionLeft: 422case CommandId.ExtendSelectionRight: 428case CommandId.MoveToHome: 434case CommandId.MoveToEnd: 440case CommandId.MoveToPageUp: 446case CommandId.MoveToPageDown: 452case CommandId.SelectToHome: 458case CommandId.SelectToEnd: 464case CommandId.SelectToPageDown: 470case CommandId.SelectToPageUp: 476case CommandId.MoveFocusUp: 482case CommandId.MoveFocusDown: 488case CommandId.MoveFocusBack: 494case CommandId.MoveFocusForward: 500case CommandId.MoveFocusPageUp: 506case CommandId.MoveFocusPageDown: 516private static RoutedUICommand _EnsureCommand(CommandId idCommand) 518if (idCommand >= 0 && idCommand < CommandId.Last) 577private static RoutedUICommand[] _internalCommands = new RoutedUICommand[(int)CommandId.Last];