114 references to CommandId
PresentationCore (114)
System\Windows\Input\Command\ComponentCommands.cs (114)
42get { return _EnsureCommand(CommandId.ScrollPageUp); } 50get { return _EnsureCommand(CommandId.ScrollPageDown); } 58get { return _EnsureCommand(CommandId.ScrollPageLeft); } 66get { return _EnsureCommand(CommandId.ScrollPageRight); } 74get { return _EnsureCommand(CommandId.ScrollByLine); } 82get { return _EnsureCommand(CommandId.MoveLeft); } 90get { return _EnsureCommand(CommandId.MoveRight); } 98get { return _EnsureCommand(CommandId.MoveUp); } 106get { return _EnsureCommand(CommandId.MoveDown); } 114get { return _EnsureCommand(CommandId.MoveToHome); } 122get { return _EnsureCommand(CommandId.MoveToEnd); } 130get { return _EnsureCommand(CommandId.MoveToPageUp); } 138get { return _EnsureCommand(CommandId.MoveToPageDown); } 146get { return _EnsureCommand(CommandId.ExtendSelectionUp); } 154get { return _EnsureCommand(CommandId.ExtendSelectionDown); } 162get { return _EnsureCommand(CommandId.ExtendSelectionLeft); } 170get { return _EnsureCommand(CommandId.ExtendSelectionRight); } 178get { return _EnsureCommand(CommandId.SelectToHome); } 186get { return _EnsureCommand(CommandId.SelectToEnd); } 194get { return _EnsureCommand(CommandId.SelectToPageUp); } 202get { return _EnsureCommand(CommandId.SelectToPageDown); } 210get { return _EnsureCommand(CommandId.MoveFocusUp); } 218get { return _EnsureCommand(CommandId.MoveFocusDown); } 226get { return _EnsureCommand(CommandId.MoveFocusForward); } 234get { return _EnsureCommand(CommandId.MoveFocusBack); } 242get { return _EnsureCommand(CommandId.MoveFocusPageUp); } 250get { return _EnsureCommand(CommandId.MoveFocusPageDown); } 262private static string GetPropertyName(CommandId commandId) 268case CommandId.ScrollPageUp:propertyName = "ScrollPageUp"; break; 269case CommandId.ScrollPageDown:propertyName = "ScrollPageDown"; break; 270case CommandId.ScrollPageLeft: propertyName = "ScrollPageLeft"; break; 271case CommandId.ScrollPageRight: propertyName = "ScrollPageRight"; break; 272case CommandId.ScrollByLine:propertyName = "ScrollByLine"; break; 273case CommandId.MoveLeft:propertyName = "MoveLeft";break; 274case CommandId.MoveRight:propertyName = "MoveRight";break; 275case CommandId.MoveUp:propertyName = "MoveUp"; break; 276case CommandId.MoveDown:propertyName = "MoveDown"; break; 277case CommandId.ExtendSelectionUp:propertyName = "ExtendSelectionUp"; break; 278case CommandId.ExtendSelectionDown:propertyName = "ExtendSelectionDown"; break; 279case CommandId.ExtendSelectionLeft:propertyName = "ExtendSelectionLeft"; break; 280case CommandId.ExtendSelectionRight:propertyName = "ExtendSelectionRight"; break; 281case CommandId.MoveToHome:propertyName = "MoveToHome"; break; 282case CommandId.MoveToEnd:propertyName = "MoveToEnd"; break; 283case CommandId.MoveToPageUp:propertyName = "MoveToPageUp"; break; 284case CommandId.MoveToPageDown:propertyName = "MoveToPageDown"; break; 285case CommandId.SelectToHome:propertyName = "SelectToHome"; break; 286case CommandId.SelectToEnd:propertyName = "SelectToEnd"; break; 287case CommandId.SelectToPageDown:propertyName = "SelectToPageDown"; break; 288case CommandId.SelectToPageUp:propertyName = "SelectToPageUp"; break; 289case CommandId.MoveFocusUp:propertyName = "MoveFocusUp"; break; 290case CommandId.MoveFocusDown:propertyName = "MoveFocusDown"; break; 291case CommandId.MoveFocusBack:propertyName = "MoveFocusBack"; break; 292case CommandId.MoveFocusForward:propertyName = "MoveFocusForward"; break; 293case CommandId.MoveFocusPageUp:propertyName = "MoveFocusPageUp"; break; 294case CommandId.MoveFocusPageDown:propertyName = "MoveFocusPageDown"; break; 304switch ((CommandId)commandId) 306case CommandId.ScrollPageUp: uiText = SR.ScrollPageUpText; break; 307case CommandId.ScrollPageDown: uiText = SR.ScrollPageDownText; break; 308case CommandId.ScrollPageLeft: uiText = SR.ScrollPageLeftText; break; 309case CommandId.ScrollPageRight: uiText = SR.ScrollPageRightText; break; 310case CommandId.ScrollByLine: uiText = SR.ScrollByLineText; break; 311case CommandId.MoveLeft:uiText = SR.MoveLeftText;break; 312case CommandId.MoveRight:uiText = SR.MoveRightText;break; 313case CommandId.MoveUp: uiText = SR.MoveUpText; break; 314case CommandId.MoveDown: uiText = SR.MoveDownText; break; 315case CommandId.ExtendSelectionUp: uiText = SR.ExtendSelectionUpText; break; 316case CommandId.ExtendSelectionDown: uiText = SR.ExtendSelectionDownText; break; 317case CommandId.ExtendSelectionLeft: uiText = SR.ExtendSelectionLeftText; break; 318case CommandId.ExtendSelectionRight: uiText = SR.ExtendSelectionRightText; break; 319case CommandId.MoveToHome: uiText = SR.MoveToHomeText; break; 320case CommandId.MoveToEnd: uiText = SR.MoveToEndText; break; 321case CommandId.MoveToPageUp: uiText = SR.MoveToPageUpText; break; 322case CommandId.MoveToPageDown: uiText = SR.MoveToPageDownText; break; 323case CommandId.SelectToHome: uiText = SR.SelectToHomeText; break; 324case CommandId.SelectToEnd: uiText = SR.SelectToEndText; break; 325case CommandId.SelectToPageDown: uiText = SR.SelectToPageDownText; break; 326case CommandId.SelectToPageUp: uiText = SR.SelectToPageUpText; break; 327case CommandId.MoveFocusUp: uiText = SR.MoveFocusUpText; break; 328case CommandId.MoveFocusDown: uiText = SR.MoveFocusDownText; break; 329case CommandId.MoveFocusBack: uiText = SR.MoveFocusBackText; break; 330case CommandId.MoveFocusForward: uiText = SR.MoveFocusForwardText; break; 331case CommandId.MoveFocusPageUp: uiText = SR.MoveFocusPageUpText; break; 332case CommandId.MoveFocusPageDown: uiText = SR.MoveFocusPageDownText; break; 343switch ((CommandId)commandId) 345case CommandId.ScrollPageUp: 351case CommandId.ScrollPageDown: 357case CommandId.ScrollPageLeft: 363case CommandId.ScrollPageRight: 369case CommandId.ScrollByLine: 375case CommandId.MoveLeft: 381case CommandId.MoveRight: 387case CommandId.MoveUp: 393case CommandId.MoveDown: 399case CommandId.ExtendSelectionUp: 405case CommandId.ExtendSelectionDown: 411case CommandId.ExtendSelectionLeft: 417case CommandId.ExtendSelectionRight: 423case CommandId.MoveToHome: 429case CommandId.MoveToEnd: 435case CommandId.MoveToPageUp: 441case CommandId.MoveToPageDown: 447case CommandId.SelectToHome: 453case CommandId.SelectToEnd: 459case CommandId.SelectToPageDown: 465case CommandId.SelectToPageUp: 471case CommandId.MoveFocusUp: 477case CommandId.MoveFocusDown: 483case CommandId.MoveFocusBack: 489case CommandId.MoveFocusForward: 495case CommandId.MoveFocusPageUp: 501case CommandId.MoveFocusPageDown: 511private static RoutedUICommand _EnsureCommand(CommandId idCommand) 513if (idCommand >= 0 && idCommand < CommandId.Last) 572private static RoutedUICommand[] _internalCommands = new RoutedUICommand[(int)CommandId.Last];