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