3 instantiations of CanExecuteRoutedEventArgs
PresentationCore (3)
System\Windows\Input\Command\CommandBinding.cs (1)
163CanExecuteRoutedEventArgs canExecuteArgs = new(e.Command, e.Parameter)
System\Windows\Input\Command\CommandManager.cs (1)
520CanExecuteRoutedEventArgs canExecuteArgs = new CanExecuteRoutedEventArgs(e.Command, null /* parameter */);
System\Windows\Input\Command\RoutedCommand.cs (1)
333CanExecuteRoutedEventArgs args = new CanExecuteRoutedEventArgs(this, parameter);
97 references to CanExecuteRoutedEventArgs
PresentationCore (15)
System\Windows\Generated\UIElement.cs (2)
2196private static void OnPreviewCanExecuteThunk(object sender, CanExecuteRoutedEventArgs e) 2204private static void OnCanExecuteThunk(object sender, CanExecuteRoutedEventArgs e)
System\Windows\Input\Command\CanExecuteRoutedEventArgs.cs (1)
17public delegate void CanExecuteRoutedEventHandler(object sender, CanExecuteRoutedEventArgs e);
System\Windows\Input\Command\CommandBinding.cs (2)
128internal void OnCanExecute(object sender, CanExecuteRoutedEventArgs e) 163CanExecuteRoutedEventArgs canExecuteArgs = new(e.Command, e.Parameter)
System\Windows\Input\Command\CommandManager.cs (8)
449internal static void OnCanExecute(object sender, CanExecuteRoutedEventArgs e) 475private static bool CanExecuteCommandBinding(object sender, CanExecuteRoutedEventArgs e, CommandBinding commandBinding) 520CanExecuteRoutedEventArgs canExecuteArgs = new CanExecuteRoutedEventArgs(e.Command, null /* parameter */); 606CanExecuteRoutedEventArgs canExArgs = execute ? default : (CanExecuteRoutedEventArgs)e; 630CanExecuteCommandBinding(sender, (CanExecuteRoutedEventArgs)e, commandBinding); 652!execute && CanExecuteCommandBinding(sender, (CanExecuteRoutedEventArgs)e, commandBinding); 655private static void TransferEvent(IInputElement newSource, CanExecuteRoutedEventArgs e)
System\Windows\Input\Command\RoutedCommand.cs (2)
333CanExecuteRoutedEventArgs args = new CanExecuteRoutedEventArgs(this, parameter); 352private void CriticalCanExecuteWrapper(object parameter, IInputElement target, bool trusted, CanExecuteRoutedEventArgs args)
PresentationFramework (62)
System\Windows\Annotations\AnnotationHelper.cs (6)
394internal static void OnQueryCreateHighlightCommand(object sender, CanExecuteRoutedEventArgs e) 406internal static void OnQueryCreateTextStickyNoteCommand(object sender, CanExecuteRoutedEventArgs e) 418internal static void OnQueryCreateInkStickyNoteCommand(object sender, CanExecuteRoutedEventArgs e) 430internal static void OnQueryClearHighlightsCommand(object sender, CanExecuteRoutedEventArgs e) 442internal static void OnQueryDeleteStickyNotesCommand(object sender, CanExecuteRoutedEventArgs e) 454internal static void OnQueryDeleteAnnotationsCommand(object sender, CanExecuteRoutedEventArgs e)
System\Windows\Controls\DataGrid.cs (12)
2080private static void OnCanExecuteBeginEdit(object sender, CanExecuteRoutedEventArgs e) 2093protected virtual void OnCanExecuteBeginEdit(CanExecuteRoutedEventArgs e) 2285private static void OnCanExecuteCommitEdit(object sender, CanExecuteRoutedEventArgs e) 2302private bool CanEndEdit(CanExecuteRoutedEventArgs e, bool commit) 2328protected virtual void OnCanExecuteCommitEdit(CanExecuteRoutedEventArgs e) 2489private static void OnCanExecuteCancelEdit(object sender, CanExecuteRoutedEventArgs e) 2502protected virtual void OnCanExecuteCancelEdit(CanExecuteRoutedEventArgs e) 2581private static void OnCanExecuteDelete(object sender, CanExecuteRoutedEventArgs e) 2594protected virtual void OnCanExecuteDelete(CanExecuteRoutedEventArgs e) 4332private static void OnCanExecuteSelectAll(object sender, CanExecuteRoutedEventArgs e) 8247private static void OnCanExecuteCopy(object target, CanExecuteRoutedEventArgs args) 8256protected virtual void OnCanExecuteCopy(CanExecuteRoutedEventArgs args)
System\Windows\Controls\DocumentViewer.cs (1)
1738private static void QueryEnabledHandler(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\FlowDocumentReader.cs (2)
1381private static void CanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args) 1608private void PreviewCanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
1399private static void CanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args) 1566private void PreviewCanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\Frame.cs (3)
628private void OnQueryGoBack(object sender, CanExecuteRoutedEventArgs e) 641private void OnQueryGoForward(object sender, CanExecuteRoutedEventArgs e) 673private void OnQueryRefresh(object sender, CanExecuteRoutedEventArgs e)
System\Windows\Controls\InkCanvas.cs (1)
2770private static void _OnQueryCommandEnabled(object sender, CanExecuteRoutedEventArgs args)
System\Windows\Controls\ListBox.cs (1)
682private static void OnQueryStatusSelectAll(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1500private static void CanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\Primitives\ScrollBar.cs (2)
654private static void OnQueryScrollHereCommand(object target, CanExecuteRoutedEventArgs args) 659private static void OnQueryScrollCommand(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\ScrollViewer.cs (1)
2586private static void OnQueryScrollCommand(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\SinglePageViewer.cs (2)
1290private static void CanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args) 1344private void PreviewCanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\StickyNote.cs (1)
1743private static void _OnQueryCommandEnabled(object sender, CanExecuteRoutedEventArgs args)
System\Windows\Controls\TextBox.cs (2)
981private static void OnCanExecuteClearCommand(object target, CanExecuteRoutedEventArgs args) 1915private static void OnQueryScrollCommand(object target, CanExecuteRoutedEventArgs args)
System\Windows\Documents\RubberbandSelector.cs (1)
496private void QueryCopy(object sender, CanExecuteRoutedEventArgs e)
System\windows\Documents\TextEditor.cs (2)
1883private static void OnQueryStatusUndo(object sender, CanExecuteRoutedEventArgs args) 1903private static void OnQueryStatusRedo(object sender, CanExecuteRoutedEventArgs args)
System\windows\Documents\TextEditorCharacters.cs (1)
474private static void OnQueryStatusNYI(object target, CanExecuteRoutedEventArgs args)
System\windows\Documents\TextEditorCopyPaste.cs (5)
491private static void OnQueryStatusCut(object target, CanExecuteRoutedEventArgs args) 536private static void OnQueryStatusCopy(object target, CanExecuteRoutedEventArgs args) 582private static void OnQueryStatusPaste(object target, CanExecuteRoutedEventArgs args) 627private static void OnQueryStatusCopyFormat(object target, CanExecuteRoutedEventArgs args) 649private static void OnQueryStatusPasteFormat(object target, CanExecuteRoutedEventArgs args)
System\windows\Documents\TextEditorLists.cs (2)
94private static void OnQueryStatusTab(object sender, CanExecuteRoutedEventArgs args) 109private static void OnQueryStatusNYI(object target, CanExecuteRoutedEventArgs args)
System\windows\Documents\TextEditorParagraphs.cs (1)
183private static void OnQueryStatusNYI(object sender, CanExecuteRoutedEventArgs e)
System\windows\Documents\TextEditorSelection.cs (2)
1968private static void OnQueryStatusKeyboardSelection(object target, CanExecuteRoutedEventArgs args) 1983private static void OnQueryStatusCaretNavigation(object target, CanExecuteRoutedEventArgs args)
System\windows\Documents\TextEditorSpelling.cs (1)
240private static void OnQueryStatusSpellingError(object target, CanExecuteRoutedEventArgs args)
System\windows\Documents\TextEditorTables.cs (1)
125private static void OnQueryStatusNYI(object target, CanExecuteRoutedEventArgs args)
System\windows\Documents\TextEditorTyping.cs (5)
434private static void OnQueryStatusCorrectionList(object target, CanExecuteRoutedEventArgs args) 1031private static void OnQueryStatusEnterBreak(object sender, CanExecuteRoutedEventArgs args) 1312private static void OnQueryStatusTabForward(object sender, CanExecuteRoutedEventArgs args) 1328private static void OnQueryStatusTabBackward(object sender, CanExecuteRoutedEventArgs args) 1848private static void OnQueryStatusNYI(object target, CanExecuteRoutedEventArgs args)
System\Windows\Navigation\NavigationWindow.cs (4)
1021private static void OnQueryGoBack(object sender, CanExecuteRoutedEventArgs e) 1036private static void OnQueryGoForward(object sender, CanExecuteRoutedEventArgs e) 1051private static void OnQueryRefresh(object sender, CanExecuteRoutedEventArgs e) 1065private static void OnQueryBrowseStop(object sender, CanExecuteRoutedEventArgs e)
PresentationUI (8)
InstallationError.xaml.cs (1)
197static void OnCanRefresh(object sender, CanExecuteRoutedEventArgs e)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (4)
1355private static void OnApplicationCommandQuery(object target, CanExecuteRoutedEventArgs e) 1437private static void OnNavigationCommandQuery(object sender, CanExecuteRoutedEventArgs e) 1490private static void OnDigSigQuery(object sender, CanExecuteRoutedEventArgs e) 1589private static void OnRMQuery(object sender, CanExecuteRoutedEventArgs e)
TenFeetInstallationError.xaml.cs (1)
200static void OnCanRefresh(object sender, CanExecuteRoutedEventArgs e)
TenFeetInstallationProgress.xaml.cs (2)
145static void OnCanRefresh(object sender, CanExecuteRoutedEventArgs e) 160static void OnCanStop(object sender, CanExecuteRoutedEventArgs e)
System.Windows.Controls.Ribbon (12)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (6)
2450private static void AddToQATCanExecute(object sender, CanExecuteRoutedEventArgs args) 2498private static void MaximizeRibbonCanExecute(object sender, CanExecuteRoutedEventArgs args) 2527private static void MinimizeRibbonCanExecute(object sender, CanExecuteRoutedEventArgs args) 2556private static void RemoveFromQATCanExecute(object sender, CanExecuteRoutedEventArgs args) 2585private static void ShowQATAboveCanExecute(object sender, CanExecuteRoutedEventArgs args) 2615private static void ShowQATBelowCanExecute(object sender, CanExecuteRoutedEventArgs args)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
1782private static void FilterCanExecute(object sender, CanExecuteRoutedEventArgs args)
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (5)
170private static void MinimizeWindowCanExecute(object sender, CanExecuteRoutedEventArgs args) 194private static void MaximizeWindowCanExecute(object sender, CanExecuteRoutedEventArgs args) 218private static void RestoreWindowCanExecute(object sender, CanExecuteRoutedEventArgs args) 242private static void CloseWindowCanExecute(object sender, CanExecuteRoutedEventArgs args) 261private static void SystemMenuCanExecute(object sender, CanExecuteRoutedEventArgs args)