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