16 references to Copy
PresentationCore (1)
System\Windows\Input\Command\CommandDevice.cs (1)
229appCommand = ApplicationCommands.Copy;
PresentationFramework (14)
MS\Internal\AppModel\OleCmdHelper.cs (2)
193_oleCmdMappingTable.Add((uint)UnsafeNativeMethods.OLECMDID.OLECMDID_COPY, new CommandWithArgument(ApplicationCommands.Copy)); 215_applicationCommandsMappingTable.Add((uint)AppCommands.Edit_Copy, new CommandWithArgument(ApplicationCommands.Copy));
MS\Internal\Documents\DocumentGridContextMenu.cs (1)
153SetMenuProperties(new EditorMenuItem(), dg, ApplicationCommands.Copy); // Copy will be marked as user initiated
System\Windows\Controls\DataGrid.cs (1)
73CommandManager.RegisterClassCommandBinding(typeof(DataGrid), new CommandBinding(ApplicationCommands.Copy, new ExecutedRoutedEventHandler(OnExecutedCopy), new CanExecuteRoutedEventHandler(OnCanExecuteCopy)));
System\Windows\Controls\InkCanvas.cs (4)
2469CommandHelpers.RegisterCommandHandler(ownerType, ApplicationCommands.Copy, 2714else if ( command == ApplicationCommands.Copy ) 2784|| command == ApplicationCommands.Copy 2820if ( command == ApplicationCommands.Cut || command == ApplicationCommands.Copy
System\Windows\Documents\RubberbandSelector.cs (2)
79CommandBinding binding = new CommandBinding(ApplicationCommands.Copy); 108if (binding.Command == ApplicationCommands.Copy)
System\windows\Documents\TextEditorContextMenu.cs (1)
615menuItem.Command = ApplicationCommands.Copy;
System\windows\Documents\TextEditorCopyPaste.cs (1)
50CommandHelpers.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)
363/// and <see cref="System.Windows.Input.ApplicationCommands.Copy"/> RoutedUICommands through a
System\Windows\Input\Command\CommandConverter.cs (1)
314knownCommand = ApplicationCommands.Copy;
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
2160enforcer.AddBinding(new PolicyBinding(ApplicationCommands.Copy, RightsManagementPolicy.AllowCopy));