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