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