31 instantiations of CommandWithArgument
PresentationFramework (31)
src\Framework\MS\Internal\AppModel\OleCmdHelper.cs (31)
223
_oleCmdMappingTable.Value.Add((uint)UnsafeNativeMethods.OLECMDID.OLECMDID_SAVE, new
CommandWithArgument
(ApplicationCommands.Save));
224
_oleCmdMappingTable.Value.Add((uint)UnsafeNativeMethods.OLECMDID.OLECMDID_SAVEAS, new
CommandWithArgument
(ApplicationCommands.SaveAs));
225
_oleCmdMappingTable.Value.Add((uint)UnsafeNativeMethods.OLECMDID.OLECMDID_PRINT, new
CommandWithArgument
(ApplicationCommands.Print));
226
_oleCmdMappingTable.Value.Add((uint)UnsafeNativeMethods.OLECMDID.OLECMDID_CUT, new
CommandWithArgument
(ApplicationCommands.Cut));
227
_oleCmdMappingTable.Value.Add((uint)UnsafeNativeMethods.OLECMDID.OLECMDID_COPY, new
CommandWithArgument
(ApplicationCommands.Copy));
228
_oleCmdMappingTable.Value.Add((uint)UnsafeNativeMethods.OLECMDID.OLECMDID_PASTE, new
CommandWithArgument
(ApplicationCommands.Paste));
229
_oleCmdMappingTable.Value.Add((uint)UnsafeNativeMethods.OLECMDID.OLECMDID_PROPERTIES, new
CommandWithArgument
(ApplicationCommands.Properties));
232
_oleCmdMappingTable.Value.Add((uint)UnsafeNativeMethods.OLECMDID.OLECMDID_REFRESH, new
CommandWithArgument
(NavigationCommands.Refresh));
233
_oleCmdMappingTable.Value.Add((uint)UnsafeNativeMethods.OLECMDID.OLECMDID_STOP, new
CommandWithArgument
(NavigationCommands.BrowseStop));
255
_applicationCommandsMappingTable.Value.Add((uint)AppCommands.Edit_Cut, new
CommandWithArgument
(ApplicationCommands.Cut));
256
_applicationCommandsMappingTable.Value.Add((uint)AppCommands.Edit_Copy, new
CommandWithArgument
(ApplicationCommands.Copy));
257
_applicationCommandsMappingTable.Value.Add((uint)AppCommands.Edit_Paste, new
CommandWithArgument
(ApplicationCommands.Paste));
258
_applicationCommandsMappingTable.Value.Add((uint)AppCommands.Edit_SelectAll, new
CommandWithArgument
(ApplicationCommands.SelectAll));
259
_applicationCommandsMappingTable.Value.Add((uint)AppCommands.Edit_Find, new
CommandWithArgument
(ApplicationCommands.Find));
262
_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Refresh, new
CommandWithArgument
(NavigationCommands.Refresh));
263
_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Stop, new
CommandWithArgument
(NavigationCommands.BrowseStop));
272
_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Zoom_In, new
CommandWithArgument
(NavigationCommands.IncreaseZoom));
273
_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Zoom_Out, new
CommandWithArgument
(NavigationCommands.DecreaseZoom));
274
_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Zoom_400, new
CommandWithArgument
(NavigationCommands.Zoom, 400));
275
_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Zoom_250, new
CommandWithArgument
(NavigationCommands.Zoom, 250));
276
_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Zoom_150, new
CommandWithArgument
(NavigationCommands.Zoom, 150));
277
_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Zoom_100, new
CommandWithArgument
(NavigationCommands.Zoom, 100));
278
_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Zoom_75, new
CommandWithArgument
(NavigationCommands.Zoom, 75));
279
_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Zoom_50, new
CommandWithArgument
(NavigationCommands.Zoom, 50));
280
_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Zoom_25, new
CommandWithArgument
(NavigationCommands.Zoom, 25));
281
_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Zoom_PageWidth, new
CommandWithArgument
(DocumentViewer.FitToWidthCommand));
282
_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Zoom_WholePage, new
CommandWithArgument
(DocumentViewer.FitToHeightCommand));
283
_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Zoom_TwoPages, new
CommandWithArgument
(DocumentViewer.FitToMaxPagesAcrossCommand, 2));
284
_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Zoom_Thumbnails, new
CommandWithArgument
(DocumentViewer.ViewThumbnailsCommand));
301
new
CommandWithArgument
(System.Windows.Documents.EditingCommands.Backspace));
303
new
CommandWithArgument
(System.Windows.Documents.EditingCommands.Delete));
5 references to CommandWithArgument
PresentationFramework (5)
src\Framework\MS\Internal\AppModel\OleCmdHelper.cs (5)
92
CommandWithArgument
command = oleCmdMappingTable[cmdId] as
CommandWithArgument
;
122
return BooleanBoxes.Box(((
CommandWithArgument
)command).QueryEnabled(target, null));
167
CommandWithArgument
command = oleCmdMappingTable[commandId] as
CommandWithArgument
;