114 references to CommandId
PresentationCore (114)
System\Windows\Input\Command\ComponentCommands.cs (114)
27get { return _EnsureCommand(CommandId.ScrollPageUp); } 35get { return _EnsureCommand(CommandId.ScrollPageDown); } 43get { return _EnsureCommand(CommandId.ScrollPageLeft); } 51get { return _EnsureCommand(CommandId.ScrollPageRight); } 59get { return _EnsureCommand(CommandId.ScrollByLine); } 67get { return _EnsureCommand(CommandId.MoveLeft); } 75get { return _EnsureCommand(CommandId.MoveRight); } 83get { return _EnsureCommand(CommandId.MoveUp); } 91get { return _EnsureCommand(CommandId.MoveDown); } 99get { return _EnsureCommand(CommandId.MoveToHome); } 107get { return _EnsureCommand(CommandId.MoveToEnd); } 115get { return _EnsureCommand(CommandId.MoveToPageUp); } 123get { return _EnsureCommand(CommandId.MoveToPageDown); } 131get { return _EnsureCommand(CommandId.ExtendSelectionUp); } 139get { return _EnsureCommand(CommandId.ExtendSelectionDown); } 147get { return _EnsureCommand(CommandId.ExtendSelectionLeft); } 155get { return _EnsureCommand(CommandId.ExtendSelectionRight); } 163get { return _EnsureCommand(CommandId.SelectToHome); } 171get { return _EnsureCommand(CommandId.SelectToEnd); } 179get { return _EnsureCommand(CommandId.SelectToPageUp); } 187get { return _EnsureCommand(CommandId.SelectToPageDown); } 195get { return _EnsureCommand(CommandId.MoveFocusUp); } 203get { return _EnsureCommand(CommandId.MoveFocusDown); } 211get { return _EnsureCommand(CommandId.MoveFocusForward); } 219get { return _EnsureCommand(CommandId.MoveFocusBack); } 227get { return _EnsureCommand(CommandId.MoveFocusPageUp); } 235get { return _EnsureCommand(CommandId.MoveFocusPageDown); } 247private static string GetPropertyName(CommandId commandId) 253case CommandId.ScrollPageUp:propertyName = "ScrollPageUp"; break; 254case CommandId.ScrollPageDown:propertyName = "ScrollPageDown"; break; 255case CommandId.ScrollPageLeft: propertyName = "ScrollPageLeft"; break; 256case CommandId.ScrollPageRight: propertyName = "ScrollPageRight"; break; 257case CommandId.ScrollByLine:propertyName = "ScrollByLine"; break; 258case CommandId.MoveLeft:propertyName = "MoveLeft";break; 259case CommandId.MoveRight:propertyName = "MoveRight";break; 260case CommandId.MoveUp:propertyName = "MoveUp"; break; 261case CommandId.MoveDown:propertyName = "MoveDown"; break; 262case CommandId.ExtendSelectionUp:propertyName = "ExtendSelectionUp"; break; 263case CommandId.ExtendSelectionDown:propertyName = "ExtendSelectionDown"; break; 264case CommandId.ExtendSelectionLeft:propertyName = "ExtendSelectionLeft"; break; 265case CommandId.ExtendSelectionRight:propertyName = "ExtendSelectionRight"; break; 266case CommandId.MoveToHome:propertyName = "MoveToHome"; break; 267case CommandId.MoveToEnd:propertyName = "MoveToEnd"; break; 268case CommandId.MoveToPageUp:propertyName = "MoveToPageUp"; break; 269case CommandId.MoveToPageDown:propertyName = "MoveToPageDown"; break; 270case CommandId.SelectToHome:propertyName = "SelectToHome"; break; 271case CommandId.SelectToEnd:propertyName = "SelectToEnd"; break; 272case CommandId.SelectToPageDown:propertyName = "SelectToPageDown"; break; 273case CommandId.SelectToPageUp:propertyName = "SelectToPageUp"; break; 274case CommandId.MoveFocusUp:propertyName = "MoveFocusUp"; break; 275case CommandId.MoveFocusDown:propertyName = "MoveFocusDown"; break; 276case CommandId.MoveFocusBack:propertyName = "MoveFocusBack"; break; 277case CommandId.MoveFocusForward:propertyName = "MoveFocusForward"; break; 278case CommandId.MoveFocusPageUp:propertyName = "MoveFocusPageUp"; break; 279case CommandId.MoveFocusPageDown:propertyName = "MoveFocusPageDown"; break; 289switch ((CommandId)commandId) 291case CommandId.ScrollPageUp: uiText = SR.ScrollPageUpText; break; 292case CommandId.ScrollPageDown: uiText = SR.ScrollPageDownText; break; 293case CommandId.ScrollPageLeft: uiText = SR.ScrollPageLeftText; break; 294case CommandId.ScrollPageRight: uiText = SR.ScrollPageRightText; break; 295case CommandId.ScrollByLine: uiText = SR.ScrollByLineText; break; 296case CommandId.MoveLeft:uiText = SR.MoveLeftText;break; 297case CommandId.MoveRight:uiText = SR.MoveRightText;break; 298case CommandId.MoveUp: uiText = SR.MoveUpText; break; 299case CommandId.MoveDown: uiText = SR.MoveDownText; break; 300case CommandId.ExtendSelectionUp: uiText = SR.ExtendSelectionUpText; break; 301case CommandId.ExtendSelectionDown: uiText = SR.ExtendSelectionDownText; break; 302case CommandId.ExtendSelectionLeft: uiText = SR.ExtendSelectionLeftText; break; 303case CommandId.ExtendSelectionRight: uiText = SR.ExtendSelectionRightText; break; 304case CommandId.MoveToHome: uiText = SR.MoveToHomeText; break; 305case CommandId.MoveToEnd: uiText = SR.MoveToEndText; break; 306case CommandId.MoveToPageUp: uiText = SR.MoveToPageUpText; break; 307case CommandId.MoveToPageDown: uiText = SR.MoveToPageDownText; break; 308case CommandId.SelectToHome: uiText = SR.SelectToHomeText; break; 309case CommandId.SelectToEnd: uiText = SR.SelectToEndText; break; 310case CommandId.SelectToPageDown: uiText = SR.SelectToPageDownText; break; 311case CommandId.SelectToPageUp: uiText = SR.SelectToPageUpText; break; 312case CommandId.MoveFocusUp: uiText = SR.MoveFocusUpText; break; 313case CommandId.MoveFocusDown: uiText = SR.MoveFocusDownText; break; 314case CommandId.MoveFocusBack: uiText = SR.MoveFocusBackText; break; 315case CommandId.MoveFocusForward: uiText = SR.MoveFocusForwardText; break; 316case CommandId.MoveFocusPageUp: uiText = SR.MoveFocusPageUpText; break; 317case CommandId.MoveFocusPageDown: uiText = SR.MoveFocusPageDownText; break; 328switch ((CommandId)commandId) 330case CommandId.ScrollPageUp: 336case CommandId.ScrollPageDown: 342case CommandId.ScrollPageLeft: 348case CommandId.ScrollPageRight: 354case CommandId.ScrollByLine: 360case CommandId.MoveLeft: 366case CommandId.MoveRight: 372case CommandId.MoveUp: 378case CommandId.MoveDown: 384case CommandId.ExtendSelectionUp: 390case CommandId.ExtendSelectionDown: 396case CommandId.ExtendSelectionLeft: 402case CommandId.ExtendSelectionRight: 408case CommandId.MoveToHome: 414case CommandId.MoveToEnd: 420case CommandId.MoveToPageUp: 426case CommandId.MoveToPageDown: 432case CommandId.SelectToHome: 438case CommandId.SelectToEnd: 444case CommandId.SelectToPageDown: 450case CommandId.SelectToPageUp: 456case CommandId.MoveFocusUp: 462case CommandId.MoveFocusDown: 468case CommandId.MoveFocusBack: 474case CommandId.MoveFocusForward: 480case CommandId.MoveFocusPageUp: 486case CommandId.MoveFocusPageDown: 496private static RoutedUICommand _EnsureCommand(CommandId idCommand) 498if (idCommand >= 0 && idCommand < CommandId.Last) 559private static RoutedUICommand[] _internalCommands = new RoutedUICommand[(int)CommandId.Last];