114 references to CommandId
PresentationCore (114)
System\Windows\Input\Command\ComponentCommands.cs (114)
28get { return _EnsureCommand(CommandId.ScrollPageUp); } 36get { return _EnsureCommand(CommandId.ScrollPageDown); } 44get { return _EnsureCommand(CommandId.ScrollPageLeft); } 52get { return _EnsureCommand(CommandId.ScrollPageRight); } 60get { return _EnsureCommand(CommandId.ScrollByLine); } 68get { return _EnsureCommand(CommandId.MoveLeft); } 76get { return _EnsureCommand(CommandId.MoveRight); } 84get { return _EnsureCommand(CommandId.MoveUp); } 92get { return _EnsureCommand(CommandId.MoveDown); } 100get { return _EnsureCommand(CommandId.MoveToHome); } 108get { return _EnsureCommand(CommandId.MoveToEnd); } 116get { return _EnsureCommand(CommandId.MoveToPageUp); } 124get { return _EnsureCommand(CommandId.MoveToPageDown); } 132get { return _EnsureCommand(CommandId.ExtendSelectionUp); } 140get { return _EnsureCommand(CommandId.ExtendSelectionDown); } 148get { return _EnsureCommand(CommandId.ExtendSelectionLeft); } 156get { return _EnsureCommand(CommandId.ExtendSelectionRight); } 164get { return _EnsureCommand(CommandId.SelectToHome); } 172get { return _EnsureCommand(CommandId.SelectToEnd); } 180get { return _EnsureCommand(CommandId.SelectToPageUp); } 188get { return _EnsureCommand(CommandId.SelectToPageDown); } 196get { return _EnsureCommand(CommandId.MoveFocusUp); } 204get { return _EnsureCommand(CommandId.MoveFocusDown); } 212get { return _EnsureCommand(CommandId.MoveFocusForward); } 220get { return _EnsureCommand(CommandId.MoveFocusBack); } 228get { return _EnsureCommand(CommandId.MoveFocusPageUp); } 236get { return _EnsureCommand(CommandId.MoveFocusPageDown); } 248private static string GetPropertyName(CommandId commandId) 254case CommandId.ScrollPageUp:propertyName = "ScrollPageUp"; break; 255case CommandId.ScrollPageDown:propertyName = "ScrollPageDown"; break; 256case CommandId.ScrollPageLeft: propertyName = "ScrollPageLeft"; break; 257case CommandId.ScrollPageRight: propertyName = "ScrollPageRight"; break; 258case CommandId.ScrollByLine:propertyName = "ScrollByLine"; break; 259case CommandId.MoveLeft:propertyName = "MoveLeft";break; 260case CommandId.MoveRight:propertyName = "MoveRight";break; 261case CommandId.MoveUp:propertyName = "MoveUp"; break; 262case CommandId.MoveDown:propertyName = "MoveDown"; break; 263case CommandId.ExtendSelectionUp:propertyName = "ExtendSelectionUp"; break; 264case CommandId.ExtendSelectionDown:propertyName = "ExtendSelectionDown"; break; 265case CommandId.ExtendSelectionLeft:propertyName = "ExtendSelectionLeft"; break; 266case CommandId.ExtendSelectionRight:propertyName = "ExtendSelectionRight"; break; 267case CommandId.MoveToHome:propertyName = "MoveToHome"; break; 268case CommandId.MoveToEnd:propertyName = "MoveToEnd"; break; 269case CommandId.MoveToPageUp:propertyName = "MoveToPageUp"; break; 270case CommandId.MoveToPageDown:propertyName = "MoveToPageDown"; break; 271case CommandId.SelectToHome:propertyName = "SelectToHome"; break; 272case CommandId.SelectToEnd:propertyName = "SelectToEnd"; break; 273case CommandId.SelectToPageDown:propertyName = "SelectToPageDown"; break; 274case CommandId.SelectToPageUp:propertyName = "SelectToPageUp"; break; 275case CommandId.MoveFocusUp:propertyName = "MoveFocusUp"; break; 276case CommandId.MoveFocusDown:propertyName = "MoveFocusDown"; break; 277case CommandId.MoveFocusBack:propertyName = "MoveFocusBack"; break; 278case CommandId.MoveFocusForward:propertyName = "MoveFocusForward"; break; 279case CommandId.MoveFocusPageUp:propertyName = "MoveFocusPageUp"; break; 280case CommandId.MoveFocusPageDown:propertyName = "MoveFocusPageDown"; break; 290switch ((CommandId)commandId) 292case CommandId.ScrollPageUp: uiText = SR.ScrollPageUpText; break; 293case CommandId.ScrollPageDown: uiText = SR.ScrollPageDownText; break; 294case CommandId.ScrollPageLeft: uiText = SR.ScrollPageLeftText; break; 295case CommandId.ScrollPageRight: uiText = SR.ScrollPageRightText; break; 296case CommandId.ScrollByLine: uiText = SR.ScrollByLineText; break; 297case CommandId.MoveLeft:uiText = SR.MoveLeftText;break; 298case CommandId.MoveRight:uiText = SR.MoveRightText;break; 299case CommandId.MoveUp: uiText = SR.MoveUpText; break; 300case CommandId.MoveDown: uiText = SR.MoveDownText; break; 301case CommandId.ExtendSelectionUp: uiText = SR.ExtendSelectionUpText; break; 302case CommandId.ExtendSelectionDown: uiText = SR.ExtendSelectionDownText; break; 303case CommandId.ExtendSelectionLeft: uiText = SR.ExtendSelectionLeftText; break; 304case CommandId.ExtendSelectionRight: uiText = SR.ExtendSelectionRightText; break; 305case CommandId.MoveToHome: uiText = SR.MoveToHomeText; break; 306case CommandId.MoveToEnd: uiText = SR.MoveToEndText; break; 307case CommandId.MoveToPageUp: uiText = SR.MoveToPageUpText; break; 308case CommandId.MoveToPageDown: uiText = SR.MoveToPageDownText; break; 309case CommandId.SelectToHome: uiText = SR.SelectToHomeText; break; 310case CommandId.SelectToEnd: uiText = SR.SelectToEndText; break; 311case CommandId.SelectToPageDown: uiText = SR.SelectToPageDownText; break; 312case CommandId.SelectToPageUp: uiText = SR.SelectToPageUpText; break; 313case CommandId.MoveFocusUp: uiText = SR.MoveFocusUpText; break; 314case CommandId.MoveFocusDown: uiText = SR.MoveFocusDownText; break; 315case CommandId.MoveFocusBack: uiText = SR.MoveFocusBackText; break; 316case CommandId.MoveFocusForward: uiText = SR.MoveFocusForwardText; break; 317case CommandId.MoveFocusPageUp: uiText = SR.MoveFocusPageUpText; break; 318case CommandId.MoveFocusPageDown: uiText = SR.MoveFocusPageDownText; break; 329switch ((CommandId)commandId) 331case CommandId.ScrollPageUp: 337case CommandId.ScrollPageDown: 343case CommandId.ScrollPageLeft: 349case CommandId.ScrollPageRight: 355case CommandId.ScrollByLine: 361case CommandId.MoveLeft: 367case CommandId.MoveRight: 373case CommandId.MoveUp: 379case CommandId.MoveDown: 385case CommandId.ExtendSelectionUp: 391case CommandId.ExtendSelectionDown: 397case CommandId.ExtendSelectionLeft: 403case CommandId.ExtendSelectionRight: 409case CommandId.MoveToHome: 415case CommandId.MoveToEnd: 421case CommandId.MoveToPageUp: 427case CommandId.MoveToPageDown: 433case CommandId.SelectToHome: 439case CommandId.SelectToEnd: 445case CommandId.SelectToPageDown: 451case CommandId.SelectToPageUp: 457case CommandId.MoveFocusUp: 463case CommandId.MoveFocusDown: 469case CommandId.MoveFocusBack: 475case CommandId.MoveFocusForward: 481case CommandId.MoveFocusPageUp: 487case CommandId.MoveFocusPageDown: 497private static RoutedUICommand _EnsureCommand(CommandId idCommand) 499if (idCommand >= 0 && idCommand < CommandId.Last) 558private static RoutedUICommand[] _internalCommands = new RoutedUICommand[(int)CommandId.Last];