102 references to CommandId
PresentationCore (102)
Core\CSharp\System\Windows\Input\Command\ApplicationCommands.cs (102)
50
get { return _EnsureCommand(
CommandId
.Cut); }
58
get { return _EnsureCommand(
CommandId
.Copy); }
66
get { return _EnsureCommand(
CommandId
.Paste); }
74
get { return _EnsureCommand(
CommandId
.Delete); }
82
get { return _EnsureCommand(
CommandId
.Undo); }
90
get { return _EnsureCommand(
CommandId
.Redo); }
98
get { return _EnsureCommand(
CommandId
.Find); }
106
get { return _EnsureCommand(
CommandId
.Replace); }
114
get { return _EnsureCommand(
CommandId
.SelectAll); }
122
get { return _EnsureCommand(
CommandId
.Help); }
130
get { return _EnsureCommand(
CommandId
.New); }
138
get { return _EnsureCommand(
CommandId
.Open); }
146
get { return _EnsureCommand(
CommandId
.Close); }
155
get { return _EnsureCommand(
CommandId
.Save); }
163
get { return _EnsureCommand(
CommandId
.SaveAs); }
171
get { return _EnsureCommand(
CommandId
.Print); }
179
get { return _EnsureCommand(
CommandId
.CancelPrint); }
187
get { return _EnsureCommand(
CommandId
.PrintPreview); }
195
get { return _EnsureCommand(
CommandId
.Properties); }
203
get { return _EnsureCommand(
CommandId
.ContextMenu); }
211
get { return _EnsureCommand(
CommandId
.Stop); }
219
get { return _EnsureCommand(
CommandId
.CorrectionList); }
232
get { return _EnsureCommand(
CommandId
.NotACommand); }
249
private static PermissionSet GetRequiredPermissions(
CommandId
commandId)
261
case
CommandId
.Cut:
262
case
CommandId
.Copy:
263
case
CommandId
.Paste:
276
private static string GetPropertyName(
CommandId
commandId)
282
case
CommandId
.Cut: propertyName = "Cut"; break;
283
case
CommandId
.Copy: propertyName = "Copy"; break;
284
case
CommandId
.Paste: propertyName = "Paste"; break;
285
case
CommandId
.Undo: propertyName = "Undo"; break;
286
case
CommandId
.Redo: propertyName = "Redo"; break;
287
case
CommandId
.Delete: propertyName = "Delete"; break;
288
case
CommandId
.Find: propertyName = "Find"; break;
289
case
CommandId
.Replace: propertyName = "Replace"; break;
290
case
CommandId
.Help: propertyName = "Help"; break;
291
case
CommandId
.New: propertyName = "New"; break;
292
case
CommandId
.Open: propertyName = "Open"; break;
293
case
CommandId
.Save: propertyName = "Save"; break;
294
case
CommandId
.SaveAs: propertyName = "SaveAs"; break;
295
case
CommandId
.Close: propertyName = "Close"; break;
296
case
CommandId
.Print: propertyName = "Print"; break;
297
case
CommandId
.CancelPrint: propertyName = "CancelPrint"; break;
298
case
CommandId
.PrintPreview: propertyName = "PrintPreview"; break;
299
case
CommandId
.Properties: propertyName = "Properties"; break;
300
case
CommandId
.ContextMenu: propertyName = "ContextMenu"; break;
301
case
CommandId
.CorrectionList: propertyName = "CorrectionList"; break;
302
case
CommandId
.SelectAll: propertyName = "SelectAll"; break;
303
case
CommandId
.Stop: propertyName = "Stop"; break;
304
case
CommandId
.NotACommand: propertyName = "NotACommand"; break;
313
switch ((
CommandId
)commandId)
315
case
CommandId
.Cut: uiText = SR.Get(SRID.CutText); break;
316
case
CommandId
.Copy: uiText = SR.Get(SRID.CopyText);break;
317
case
CommandId
.Paste: uiText = SR.Get(SRID.PasteText);break;
318
case
CommandId
.Undo: uiText = SR.Get(SRID.UndoText);break;
319
case
CommandId
.Redo: uiText = SR.Get(SRID.RedoText); break;
320
case
CommandId
.Delete: uiText = SR.Get(SRID.DeleteText); break;
321
case
CommandId
.Find: uiText = SR.Get(SRID.FindText); break;
322
case
CommandId
.Replace: uiText = SR.Get(SRID.ReplaceText); break;
323
case
CommandId
.SelectAll: uiText = SR.Get(SRID.SelectAllText); break;
324
case
CommandId
.Help: uiText = SR.Get(SRID.HelpText); break;
325
case
CommandId
.New: uiText = SR.Get(SRID.NewText); break;
326
case
CommandId
.Open: uiText = SR.Get(SRID.OpenText); break;
327
case
CommandId
.Save: uiText = SR.Get(SRID.SaveText); break;
328
case
CommandId
.SaveAs: uiText = SR.Get(SRID.SaveAsText); break;
329
case
CommandId
.Print: uiText = SR.Get(SRID.PrintText); break;
330
case
CommandId
.CancelPrint: uiText = SR.Get(SRID.CancelPrintText); break;
331
case
CommandId
.PrintPreview: uiText = SR.Get(SRID.PrintPreviewText); break;
332
case
CommandId
.Close: uiText = SR.Get(SRID.CloseText); break;
333
case
CommandId
.ContextMenu: uiText = SR.Get(SRID.ContextMenuText); break;
334
case
CommandId
.CorrectionList: uiText = SR.Get(SRID.CorrectionListText); break;
335
case
CommandId
.Properties: uiText = SR.Get(SRID.PropertiesText); break;
336
case
CommandId
.Stop: uiText = SR.Get(SRID.StopText); break;
337
case
CommandId
.NotACommand: uiText = SR.Get(SRID.NotACommandText); break;
348
switch ((
CommandId
)commandId)
350
case
CommandId
.Cut:
356
case
CommandId
.Copy:
362
case
CommandId
.Paste:
368
case
CommandId
.Undo:
374
case
CommandId
.Redo:
380
case
CommandId
.Delete:
386
case
CommandId
.Find:
392
case
CommandId
.Replace:
398
case
CommandId
.SelectAll:
404
case
CommandId
.Help:
410
case
CommandId
.New:
416
case
CommandId
.Open:
422
case
CommandId
.Save:
428
case
CommandId
.SaveAs:
430
case
CommandId
.Print:
436
case
CommandId
.CancelPrint:
438
case
CommandId
.PrintPreview:
444
case
CommandId
.Close:
446
case
CommandId
.ContextMenu:
452
case
CommandId
.CorrectionList:
458
case
CommandId
.Properties:
464
case
CommandId
.Stop:
470
case
CommandId
.NotACommand:
477
private static RoutedUICommand _EnsureCommand(
CommandId
idCommand)
479
if (idCommand >= 0 && idCommand <
CommandId
.Last)
536
private static RoutedUICommand[] _internalCommands = new RoutedUICommand[(int)
CommandId
.Last];