37 instantiations of CommandWithArgument
PresentationFramework (37)
MS\Internal\AppModel\OleCmdHelper.cs (37)
183
_oleCmdMappingTable.Add((uint)UnsafeNativeMethods.OLECMDID.OLECMDID_SAVE, new
CommandWithArgument
(ApplicationCommands.Save));
184
_oleCmdMappingTable.Add((uint)UnsafeNativeMethods.OLECMDID.OLECMDID_SAVEAS, new
CommandWithArgument
(ApplicationCommands.SaveAs));
185
_oleCmdMappingTable.Add((uint)UnsafeNativeMethods.OLECMDID.OLECMDID_PRINT, new
CommandWithArgument
(ApplicationCommands.Print));
186
_oleCmdMappingTable.Add((uint)UnsafeNativeMethods.OLECMDID.OLECMDID_CUT, new
CommandWithArgument
(ApplicationCommands.Cut));
187
_oleCmdMappingTable.Add((uint)UnsafeNativeMethods.OLECMDID.OLECMDID_COPY, new
CommandWithArgument
(ApplicationCommands.Copy));
188
_oleCmdMappingTable.Add((uint)UnsafeNativeMethods.OLECMDID.OLECMDID_PASTE, new
CommandWithArgument
(ApplicationCommands.Paste));
189
_oleCmdMappingTable.Add((uint)UnsafeNativeMethods.OLECMDID.OLECMDID_PROPERTIES, new
CommandWithArgument
(ApplicationCommands.Properties));
192
_oleCmdMappingTable.Add((uint)UnsafeNativeMethods.OLECMDID.OLECMDID_REFRESH, new
CommandWithArgument
(NavigationCommands.Refresh));
193
_oleCmdMappingTable.Add((uint)UnsafeNativeMethods.OLECMDID.OLECMDID_STOP, new
CommandWithArgument
(NavigationCommands.BrowseStop));
208
_applicationCommandsMappingTable.Add((uint)AppCommands.Edit_Cut, new
CommandWithArgument
(ApplicationCommands.Cut));
209
_applicationCommandsMappingTable.Add((uint)AppCommands.Edit_Copy, new
CommandWithArgument
(ApplicationCommands.Copy));
210
_applicationCommandsMappingTable.Add((uint)AppCommands.Edit_Paste, new
CommandWithArgument
(ApplicationCommands.Paste));
211
_applicationCommandsMappingTable.Add((uint)AppCommands.Edit_SelectAll, new
CommandWithArgument
(ApplicationCommands.SelectAll));
212
_applicationCommandsMappingTable.Add((uint)AppCommands.Edit_Find, new
CommandWithArgument
(ApplicationCommands.Find));
215
_applicationCommandsMappingTable.Add((uint)AppCommands.View_Refresh, new
CommandWithArgument
(NavigationCommands.Refresh));
216
_applicationCommandsMappingTable.Add((uint)AppCommands.View_Stop, new
CommandWithArgument
(NavigationCommands.BrowseStop));
219
_applicationCommandsMappingTable.Add((uint)AppCommands.Edit_Digitalsignatures_SignDocument, new
CommandWithArgument
(DocumentApplicationDocumentViewer.Sign));
220
_applicationCommandsMappingTable.Add((uint)AppCommands.Edit_Digitalsignatures_RequestSignature, new
CommandWithArgument
(DocumentApplicationDocumentViewer.RequestSigners));
221
_applicationCommandsMappingTable.Add((uint)AppCommands.Edit_Digitalsignatures_ViewSignature, new
CommandWithArgument
(DocumentApplicationDocumentViewer.ShowSignatureSummary));
222
_applicationCommandsMappingTable.Add((uint)AppCommands.Edit_Permission_Set, new
CommandWithArgument
(DocumentApplicationDocumentViewer.ShowRMPublishingUI));
223
_applicationCommandsMappingTable.Add((uint)AppCommands.Edit_Permission_View, new
CommandWithArgument
(DocumentApplicationDocumentViewer.ShowRMPermissions));
224
_applicationCommandsMappingTable.Add((uint)AppCommands.Edit_Permission_Restrict, new
CommandWithArgument
(DocumentApplicationDocumentViewer.ShowRMCredentialManager));
225
_applicationCommandsMappingTable.Add((uint)AppCommands.View_Zoom_In, new
CommandWithArgument
(NavigationCommands.IncreaseZoom));
226
_applicationCommandsMappingTable.Add((uint)AppCommands.View_Zoom_Out, new
CommandWithArgument
(NavigationCommands.DecreaseZoom));
227
_applicationCommandsMappingTable.Add((uint)AppCommands.View_Zoom_400, new
CommandWithArgument
(NavigationCommands.Zoom, 400));
228
_applicationCommandsMappingTable.Add((uint)AppCommands.View_Zoom_250, new
CommandWithArgument
(NavigationCommands.Zoom, 250));
229
_applicationCommandsMappingTable.Add((uint)AppCommands.View_Zoom_150, new
CommandWithArgument
(NavigationCommands.Zoom, 150));
230
_applicationCommandsMappingTable.Add((uint)AppCommands.View_Zoom_100, new
CommandWithArgument
(NavigationCommands.Zoom, 100));
231
_applicationCommandsMappingTable.Add((uint)AppCommands.View_Zoom_75, new
CommandWithArgument
(NavigationCommands.Zoom, 75));
232
_applicationCommandsMappingTable.Add((uint)AppCommands.View_Zoom_50, new
CommandWithArgument
(NavigationCommands.Zoom, 50));
233
_applicationCommandsMappingTable.Add((uint)AppCommands.View_Zoom_25, new
CommandWithArgument
(NavigationCommands.Zoom, 25));
234
_applicationCommandsMappingTable.Add((uint)AppCommands.View_Zoom_PageWidth, new
CommandWithArgument
(DocumentViewer.FitToWidthCommand));
235
_applicationCommandsMappingTable.Add((uint)AppCommands.View_Zoom_WholePage, new
CommandWithArgument
(DocumentViewer.FitToHeightCommand));
236
_applicationCommandsMappingTable.Add((uint)AppCommands.View_Zoom_TwoPages, new
CommandWithArgument
(DocumentViewer.FitToMaxPagesAcrossCommand, 2));
237
_applicationCommandsMappingTable.Add((uint)AppCommands.View_Zoom_Thumbnails, new
CommandWithArgument
(DocumentViewer.ViewThumbnailsCommand));
249
new
CommandWithArgument
(System.Windows.Documents.EditingCommands.Backspace));
251
new
CommandWithArgument
(System.Windows.Documents.EditingCommands.Delete));
5 references to CommandWithArgument
PresentationFramework (5)
MS\Internal\AppModel\OleCmdHelper.cs (5)
76
CommandWithArgument
command = oleCmdMappingTable[cmdId] as
CommandWithArgument
;
102
return BooleanBoxes.Box(((
CommandWithArgument
)command).QueryEnabled(target, null));
139
CommandWithArgument
command = oleCmdMappingTable[commandId] as
CommandWithArgument
;