3 instantiations of CanExecuteRoutedEventArgs
PresentationCore (3)
System\Windows\Input\Command\CommandBinding.cs (1)
155CanExecuteRoutedEventArgs canExecuteArgs = new(e.Command, e.Parameter)
System\Windows\Input\Command\CommandManager.cs (1)
509CanExecuteRoutedEventArgs canExecuteArgs = new CanExecuteRoutedEventArgs(e.Command, parameter: null)
System\Windows\Input\Command\RoutedCommand.cs (1)
322CanExecuteRoutedEventArgs args = new CanExecuteRoutedEventArgs(this, parameter)
97 references to CanExecuteRoutedEventArgs
PresentationCore (15)
System\Windows\Generated\UIElement.cs (2)
2181private static void OnPreviewCanExecuteThunk(object sender, CanExecuteRoutedEventArgs e) 2189private static void OnCanExecuteThunk(object sender, CanExecuteRoutedEventArgs e)
System\Windows\Input\Command\CanExecuteRoutedEventArgs.cs (1)
13public delegate void CanExecuteRoutedEventHandler(object sender, CanExecuteRoutedEventArgs e);
System\Windows\Input\Command\CommandBinding.cs (2)
120internal void OnCanExecute(object sender, CanExecuteRoutedEventArgs e) 155CanExecuteRoutedEventArgs canExecuteArgs = new(e.Command, e.Parameter)
System\Windows\Input\Command\CommandManager.cs (8)
438internal static void OnCanExecute(object sender, CanExecuteRoutedEventArgs e) 464private static bool CanExecuteCommandBinding(object sender, CanExecuteRoutedEventArgs e, CommandBinding commandBinding) 509CanExecuteRoutedEventArgs canExecuteArgs = new CanExecuteRoutedEventArgs(e.Command, parameter: null) 599CanExecuteRoutedEventArgs canExArgs = execute ? default : (CanExecuteRoutedEventArgs)e; 623CanExecuteCommandBinding(sender, (CanExecuteRoutedEventArgs)e, commandBinding); 645!execute && CanExecuteCommandBinding(sender, (CanExecuteRoutedEventArgs)e, commandBinding); 648private static void TransferEvent(IInputElement newSource, CanExecuteRoutedEventArgs e)
System\Windows\Input\Command\RoutedCommand.cs (2)
322CanExecuteRoutedEventArgs args = new CanExecuteRoutedEventArgs(this, parameter) 343private void CriticalCanExecuteWrapper(object parameter, IInputElement target, bool trusted, CanExecuteRoutedEventArgs args)
PresentationFramework (62)
System\Windows\Annotations\AnnotationHelper.cs (6)
380internal static void OnQueryCreateHighlightCommand(object sender, CanExecuteRoutedEventArgs e) 392internal static void OnQueryCreateTextStickyNoteCommand(object sender, CanExecuteRoutedEventArgs e) 404internal static void OnQueryCreateInkStickyNoteCommand(object sender, CanExecuteRoutedEventArgs e) 416internal static void OnQueryClearHighlightsCommand(object sender, CanExecuteRoutedEventArgs e) 428internal static void OnQueryDeleteStickyNotesCommand(object sender, CanExecuteRoutedEventArgs e) 440internal static void OnQueryDeleteAnnotationsCommand(object sender, CanExecuteRoutedEventArgs e)
System\Windows\Controls\DataGrid.cs (12)
2072private static void OnCanExecuteBeginEdit(object sender, CanExecuteRoutedEventArgs e) 2085protected virtual void OnCanExecuteBeginEdit(CanExecuteRoutedEventArgs e) 2274private static void OnCanExecuteCommitEdit(object sender, CanExecuteRoutedEventArgs e) 2291private bool CanEndEdit(CanExecuteRoutedEventArgs e, bool commit) 2317protected virtual void OnCanExecuteCommitEdit(CanExecuteRoutedEventArgs e) 2472private static void OnCanExecuteCancelEdit(object sender, CanExecuteRoutedEventArgs e) 2485protected virtual void OnCanExecuteCancelEdit(CanExecuteRoutedEventArgs e) 2561private static void OnCanExecuteDelete(object sender, CanExecuteRoutedEventArgs e) 2574protected virtual void OnCanExecuteDelete(CanExecuteRoutedEventArgs e) 4300private static void OnCanExecuteSelectAll(object sender, CanExecuteRoutedEventArgs e) 8201private static void OnCanExecuteCopy(object target, CanExecuteRoutedEventArgs args) 8210protected virtual void OnCanExecuteCopy(CanExecuteRoutedEventArgs args)
System\Windows\Controls\DocumentViewer.cs (1)
1678private static void QueryEnabledHandler(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\FlowDocumentReader.cs (2)
1365private static void CanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args) 1577private void PreviewCanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
1387private static void CanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args) 1530private void PreviewCanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\Frame.cs (3)
612private void OnQueryGoBack(object sender, CanExecuteRoutedEventArgs e) 625private void OnQueryGoForward(object sender, CanExecuteRoutedEventArgs e) 657private void OnQueryRefresh(object sender, CanExecuteRoutedEventArgs e)
System\Windows\Controls\InkCanvas.cs (1)
2774private static void _OnQueryCommandEnabled(object sender, CanExecuteRoutedEventArgs args)
System\Windows\Controls\ListBox.cs (1)
677private static void OnQueryStatusSelectAll(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1467private static void CanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\Primitives\ScrollBar.cs (2)
640private static void OnQueryScrollHereCommand(object target, CanExecuteRoutedEventArgs args) 645private static void OnQueryScrollCommand(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\ScrollViewer.cs (1)
2576private static void OnQueryScrollCommand(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\SinglePageViewer.cs (2)
1289private static void CanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args) 1343private void PreviewCanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\StickyNote.cs (1)
1702private static void _OnQueryCommandEnabled(object sender, CanExecuteRoutedEventArgs args)
System\Windows\Controls\TextBox.cs (2)
976private static void OnCanExecuteClearCommand(object target, CanExecuteRoutedEventArgs args) 1910private static void OnQueryScrollCommand(object target, CanExecuteRoutedEventArgs args)
System\Windows\Documents\RubberbandSelector.cs (1)
485private void QueryCopy(object sender, CanExecuteRoutedEventArgs e)
System\windows\Documents\TextEditor.cs (2)
1853private static void OnQueryStatusUndo(object sender, CanExecuteRoutedEventArgs args) 1873private static void OnQueryStatusRedo(object sender, CanExecuteRoutedEventArgs args)
System\windows\Documents\TextEditorCharacters.cs (1)
458private static void OnQueryStatusNYI(object target, CanExecuteRoutedEventArgs args)
System\windows\Documents\TextEditorCopyPaste.cs (5)
480private static void OnQueryStatusCut(object target, CanExecuteRoutedEventArgs args) 525private static void OnQueryStatusCopy(object target, CanExecuteRoutedEventArgs args) 571private static void OnQueryStatusPaste(object target, CanExecuteRoutedEventArgs args) 616private static void OnQueryStatusCopyFormat(object target, CanExecuteRoutedEventArgs args) 638private static void OnQueryStatusPasteFormat(object target, CanExecuteRoutedEventArgs args)
System\windows\Documents\TextEditorLists.cs (2)
78private static void OnQueryStatusTab(object sender, CanExecuteRoutedEventArgs args) 93private static void OnQueryStatusNYI(object target, CanExecuteRoutedEventArgs args)
System\windows\Documents\TextEditorParagraphs.cs (1)
166private static void OnQueryStatusNYI(object sender, CanExecuteRoutedEventArgs e)
System\windows\Documents\TextEditorSelection.cs (2)
1953private static void OnQueryStatusKeyboardSelection(object target, CanExecuteRoutedEventArgs args) 1968private static void OnQueryStatusCaretNavigation(object target, CanExecuteRoutedEventArgs args)
System\windows\Documents\TextEditorSpelling.cs (1)
239private static void OnQueryStatusSpellingError(object target, CanExecuteRoutedEventArgs args)
System\windows\Documents\TextEditorTables.cs (1)
108private static void OnQueryStatusNYI(object target, CanExecuteRoutedEventArgs args)
System\windows\Documents\TextEditorTyping.cs (5)
419private static void OnQueryStatusCorrectionList(object target, CanExecuteRoutedEventArgs args) 1013private static void OnQueryStatusEnterBreak(object sender, CanExecuteRoutedEventArgs args) 1291private static void OnQueryStatusTabForward(object sender, CanExecuteRoutedEventArgs args) 1307private static void OnQueryStatusTabBackward(object sender, CanExecuteRoutedEventArgs args) 1827private static void OnQueryStatusNYI(object target, CanExecuteRoutedEventArgs args)
System\Windows\Navigation\NavigationWindow.cs (4)
1001private static void OnQueryGoBack(object sender, CanExecuteRoutedEventArgs e) 1016private static void OnQueryGoForward(object sender, CanExecuteRoutedEventArgs e) 1031private static void OnQueryRefresh(object sender, CanExecuteRoutedEventArgs e) 1045private static void OnQueryBrowseStop(object sender, CanExecuteRoutedEventArgs e)
PresentationUI (8)
InstallationError.xaml.cs (1)
193static void OnCanRefresh(object sender, CanExecuteRoutedEventArgs e)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (4)
1359private static void OnApplicationCommandQuery(object target, CanExecuteRoutedEventArgs e) 1441private static void OnNavigationCommandQuery(object sender, CanExecuteRoutedEventArgs e) 1494private static void OnDigSigQuery(object sender, CanExecuteRoutedEventArgs e) 1593private static void OnRMQuery(object sender, CanExecuteRoutedEventArgs e)
TenFeetInstallationError.xaml.cs (1)
196static void OnCanRefresh(object sender, CanExecuteRoutedEventArgs e)
TenFeetInstallationProgress.xaml.cs (2)
141static void OnCanRefresh(object sender, CanExecuteRoutedEventArgs e) 156static void OnCanStop(object sender, CanExecuteRoutedEventArgs e)
System.Windows.Controls.Ribbon (12)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (6)
2422private static void AddToQATCanExecute(object sender, CanExecuteRoutedEventArgs args) 2470private static void MaximizeRibbonCanExecute(object sender, CanExecuteRoutedEventArgs args) 2499private static void MinimizeRibbonCanExecute(object sender, CanExecuteRoutedEventArgs args) 2528private static void RemoveFromQATCanExecute(object sender, CanExecuteRoutedEventArgs args) 2557private static void ShowQATAboveCanExecute(object sender, CanExecuteRoutedEventArgs args) 2587private static void ShowQATBelowCanExecute(object sender, CanExecuteRoutedEventArgs args)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
1784private static void FilterCanExecute(object sender, CanExecuteRoutedEventArgs args)
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (5)
165private static void MinimizeWindowCanExecute(object sender, CanExecuteRoutedEventArgs args) 189private static void MaximizeWindowCanExecute(object sender, CanExecuteRoutedEventArgs args) 213private static void RestoreWindowCanExecute(object sender, CanExecuteRoutedEventArgs args) 237private static void CloseWindowCanExecute(object sender, CanExecuteRoutedEventArgs args) 256private static void SystemMenuCanExecute(object sender, CanExecuteRoutedEventArgs args)