14 references to Copy
PresentationCore (1)
System\Windows\Input\Command\CommandDevice.cs (1)
224
appCommand = ApplicationCommands.
Copy
;
PresentationFramework (12)
MS\Internal\Documents\DocumentGridContextMenu.cs (1)
147
SetMenuProperties(new EditorMenuItem(), dg, ApplicationCommands.
Copy
); // Copy will be marked as user initiated
System\Windows\Controls\DataGrid.cs (1)
70
CommandManager.RegisterClassCommandBinding(typeof(DataGrid), new CommandBinding(ApplicationCommands.
Copy
, new ExecutedRoutedEventHandler(OnExecutedCopy), new CanExecuteRoutedEventHandler(OnCanExecuteCopy)));
System\Windows\Controls\InkCanvas.cs (4)
2473
CommandHelpers.RegisterCommandHandler(ownerType, ApplicationCommands.
Copy
,
2718
else if ( command == ApplicationCommands.
Copy
)
2788
|| command == ApplicationCommands.
Copy
2824
if ( command == ApplicationCommands.Cut || command == ApplicationCommands.
Copy
System\Windows\Documents\RubberbandSelector.cs (2)
69
CommandBinding binding = new CommandBinding(ApplicationCommands.
Copy
);
98
if (binding.Command == ApplicationCommands.
Copy
)
System\windows\Documents\TextEditorContextMenu.cs (1)
626
Command = ApplicationCommands.
Copy
System\windows\Documents\TextEditorCopyPaste.cs (1)
37
CommandHelpers.RegisterCommandHandler(controlType, ApplicationCommands.
Copy
, new ExecutedRoutedEventHandler(OnCopy), new CanExecuteRoutedEventHandler(OnQueryStatusCopy), KeyGesture.CreateFromResourceStrings(KeyCopy, SR.KeyCopyDisplayString), KeyGesture.CreateFromResourceStrings(KeyCtrlInsert, SR.KeyCtrlInsertDisplayString));
System\Windows\FrameworkCompatibilityPreferences.cs (1)
360
/// and <see cref="System.Windows.Input.ApplicationCommands.
Copy
"/> RoutedUICommands through a
System\Windows\Input\Command\CommandConverter.cs (1)
309
knownCommand = ApplicationCommands.
Copy
;
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
2156
enforcer.AddBinding(new PolicyBinding(ApplicationCommands.
Copy
, RightsManagementPolicy.AllowCopy));