17 references to Copy
PresentationCore (2)
Core\CSharp\System\Windows\Input\Command\CommandDevice.cs (1)
251
appCommand = ApplicationCommands.
Copy
;
Core\CSharp\System\Windows\Input\Command\InputBinding.cs (1)
217
&& command != ApplicationCommands.
Copy
)
PresentationFramework (14)
src\Framework\MS\Internal\AppModel\OleCmdHelper.cs (2)
227
_oleCmdMappingTable.Value.Add((uint)UnsafeNativeMethods.OLECMDID.OLECMDID_COPY, new CommandWithArgument(ApplicationCommands.
Copy
));
256
_applicationCommandsMappingTable.Value.Add((uint)AppCommands.Edit_Copy, new CommandWithArgument(ApplicationCommands.
Copy
));
src\Framework\MS\Internal\Documents\DocumentGridContextMenu.cs (1)
185
SetMenuProperties(new EditorMenuItem(), dg, ApplicationCommands.
Copy
); // Copy will be marked as user initiated
src\Framework\System\Windows\Controls\DataGrid.cs (1)
74
CommandManager.RegisterClassCommandBinding(typeof(DataGrid), new CommandBinding(ApplicationCommands.
Copy
, new ExecutedRoutedEventHandler(OnExecutedCopy), new CanExecuteRoutedEventHandler(OnCanExecuteCopy)));
src\Framework\System\Windows\Controls\InkCanvas.cs (4)
2601
CommandHelpers.RegisterCommandHandler(ownerType, ApplicationCommands.
Copy
,
2854
else if ( command == ApplicationCommands.
Copy
)
2930
|| command == ApplicationCommands.
Copy
2966
if ( command == ApplicationCommands.Cut || command == ApplicationCommands.
Copy
src\Framework\System\Windows\Documents\RubberbandSelector.cs (2)
94
CommandBinding binding = new CommandBinding(ApplicationCommands.
Copy
);
123
if (binding.Command == ApplicationCommands.
Copy
)
src\Framework\System\windows\Documents\TextEditorContextMenu.cs (1)
655
menuItem.Command = ApplicationCommands.
Copy
;
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (1)
59
CommandHelpers.RegisterCommandHandler(controlType, ApplicationCommands.
Copy
, new ExecutedRoutedEventHandler(OnCopy), new CanExecuteRoutedEventHandler(OnQueryStatusCopy), KeyGesture.CreateFromResourceStrings(SR.Get(SRID.KeyCopy), SR.Get(SRID.KeyCopyDisplayString)), KeyGesture.CreateFromResourceStrings(SR.Get(SRID.KeyCtrlInsert), SR.Get(SRID.KeyCtrlInsertDisplayString)));
src\Framework\System\Windows\FrameworkCompatibilityPreferences.cs (1)
402
/// and <see cref="System.Windows.Input.ApplicationCommands.
Copy
"/> RoutedUICommands through a
src\Framework\System\Windows\Input\Command\CommandConverter.cs (1)
325
knownCommand = ApplicationCommands.
Copy
;
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\ErrorReporting.cs (1)
160
var copyBinding = new CommandBinding(ApplicationCommands.
Copy
);