3 instantiations of CanExecuteRoutedEventArgs
PresentationCore (3)
System\Windows\Input\Command\CommandBinding.cs (1)
154CanExecuteRoutedEventArgs canExecuteArgs = new(e.Command, e.Parameter)
System\Windows\Input\Command\CommandManager.cs (1)
508CanExecuteRoutedEventArgs canExecuteArgs = new CanExecuteRoutedEventArgs(e.Command, parameter: null)
System\Windows\Input\Command\RoutedCommand.cs (1)
321CanExecuteRoutedEventArgs args = new CanExecuteRoutedEventArgs(this, parameter)
97 references to CanExecuteRoutedEventArgs
PresentationCore (15)
System\Windows\Generated\UIElement.cs (2)
2180private static void OnPreviewCanExecuteThunk(object sender, CanExecuteRoutedEventArgs e) 2188private static void OnCanExecuteThunk(object sender, CanExecuteRoutedEventArgs e)
System\Windows\Input\Command\CanExecuteRoutedEventArgs.cs (1)
12public delegate void CanExecuteRoutedEventHandler(object sender, CanExecuteRoutedEventArgs e);
System\Windows\Input\Command\CommandBinding.cs (2)
119internal void OnCanExecute(object sender, CanExecuteRoutedEventArgs e) 154CanExecuteRoutedEventArgs canExecuteArgs = new(e.Command, e.Parameter)
System\Windows\Input\Command\CommandManager.cs (8)
437internal static void OnCanExecute(object sender, CanExecuteRoutedEventArgs e) 463private static bool CanExecuteCommandBinding(object sender, CanExecuteRoutedEventArgs e, CommandBinding commandBinding) 508CanExecuteRoutedEventArgs canExecuteArgs = new CanExecuteRoutedEventArgs(e.Command, parameter: null) 598CanExecuteRoutedEventArgs canExArgs = execute ? default : (CanExecuteRoutedEventArgs)e; 622CanExecuteCommandBinding(sender, (CanExecuteRoutedEventArgs)e, commandBinding); 644!execute && CanExecuteCommandBinding(sender, (CanExecuteRoutedEventArgs)e, commandBinding); 647private static void TransferEvent(IInputElement newSource, CanExecuteRoutedEventArgs e)
System\Windows\Input\Command\RoutedCommand.cs (2)
321CanExecuteRoutedEventArgs args = new CanExecuteRoutedEventArgs(this, parameter) 342private void CriticalCanExecuteWrapper(object parameter, IInputElement target, bool trusted, CanExecuteRoutedEventArgs args)
PresentationFramework (62)
System\Windows\Annotations\AnnotationHelper.cs (6)
379internal static void OnQueryCreateHighlightCommand(object sender, CanExecuteRoutedEventArgs e) 391internal static void OnQueryCreateTextStickyNoteCommand(object sender, CanExecuteRoutedEventArgs e) 403internal static void OnQueryCreateInkStickyNoteCommand(object sender, CanExecuteRoutedEventArgs e) 415internal static void OnQueryClearHighlightsCommand(object sender, CanExecuteRoutedEventArgs e) 427internal static void OnQueryDeleteStickyNotesCommand(object sender, CanExecuteRoutedEventArgs e) 439internal static void OnQueryDeleteAnnotationsCommand(object sender, CanExecuteRoutedEventArgs e)
System\Windows\Controls\DataGrid.cs (12)
2071private static void OnCanExecuteBeginEdit(object sender, CanExecuteRoutedEventArgs e) 2084protected virtual void OnCanExecuteBeginEdit(CanExecuteRoutedEventArgs e) 2273private static void OnCanExecuteCommitEdit(object sender, CanExecuteRoutedEventArgs e) 2290private bool CanEndEdit(CanExecuteRoutedEventArgs e, bool commit) 2316protected virtual void OnCanExecuteCommitEdit(CanExecuteRoutedEventArgs e) 2471private static void OnCanExecuteCancelEdit(object sender, CanExecuteRoutedEventArgs e) 2484protected virtual void OnCanExecuteCancelEdit(CanExecuteRoutedEventArgs e) 2560private static void OnCanExecuteDelete(object sender, CanExecuteRoutedEventArgs e) 2573protected virtual void OnCanExecuteDelete(CanExecuteRoutedEventArgs e) 4299private static void OnCanExecuteSelectAll(object sender, CanExecuteRoutedEventArgs e) 8200private static void OnCanExecuteCopy(object target, CanExecuteRoutedEventArgs args) 8209protected virtual void OnCanExecuteCopy(CanExecuteRoutedEventArgs args)
System\Windows\Controls\DocumentViewer.cs (1)
1677private static void QueryEnabledHandler(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\FlowDocumentReader.cs (2)
1364private static void CanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args) 1576private void PreviewCanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
1386private static void CanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args) 1529private void PreviewCanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\Frame.cs (3)
611private void OnQueryGoBack(object sender, CanExecuteRoutedEventArgs e) 624private void OnQueryGoForward(object sender, CanExecuteRoutedEventArgs e) 656private void OnQueryRefresh(object sender, CanExecuteRoutedEventArgs e)
System\Windows\Controls\InkCanvas.cs (1)
2773private static void _OnQueryCommandEnabled(object sender, CanExecuteRoutedEventArgs args)
System\Windows\Controls\ListBox.cs (1)
676private static void OnQueryStatusSelectAll(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1466private static void CanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\Primitives\ScrollBar.cs (2)
639private static void OnQueryScrollHereCommand(object target, CanExecuteRoutedEventArgs args) 644private static void OnQueryScrollCommand(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\ScrollViewer.cs (1)
2575private static void OnQueryScrollCommand(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\SinglePageViewer.cs (2)
1288private static void CanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args) 1342private void PreviewCanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\StickyNote.cs (1)
1701private static void _OnQueryCommandEnabled(object sender, CanExecuteRoutedEventArgs args)
System\Windows\Controls\TextBox.cs (2)
975private static void OnCanExecuteClearCommand(object target, CanExecuteRoutedEventArgs args) 1909private static void OnQueryScrollCommand(object target, CanExecuteRoutedEventArgs args)
System\Windows\Documents\RubberbandSelector.cs (1)
484private void QueryCopy(object sender, CanExecuteRoutedEventArgs e)
System\windows\Documents\TextEditor.cs (2)
1852private static void OnQueryStatusUndo(object sender, CanExecuteRoutedEventArgs args) 1872private static void OnQueryStatusRedo(object sender, CanExecuteRoutedEventArgs args)
System\windows\Documents\TextEditorCharacters.cs (1)
457private static void OnQueryStatusNYI(object target, CanExecuteRoutedEventArgs args)
System\windows\Documents\TextEditorCopyPaste.cs (5)
479private static void OnQueryStatusCut(object target, CanExecuteRoutedEventArgs args) 524private static void OnQueryStatusCopy(object target, CanExecuteRoutedEventArgs args) 570private static void OnQueryStatusPaste(object target, CanExecuteRoutedEventArgs args) 615private static void OnQueryStatusCopyFormat(object target, CanExecuteRoutedEventArgs args) 637private static void OnQueryStatusPasteFormat(object target, CanExecuteRoutedEventArgs args)
System\windows\Documents\TextEditorLists.cs (2)
77private static void OnQueryStatusTab(object sender, CanExecuteRoutedEventArgs args) 92private static void OnQueryStatusNYI(object target, CanExecuteRoutedEventArgs args)
System\windows\Documents\TextEditorParagraphs.cs (1)
165private static void OnQueryStatusNYI(object sender, CanExecuteRoutedEventArgs e)
System\windows\Documents\TextEditorSelection.cs (2)
1952private static void OnQueryStatusKeyboardSelection(object target, CanExecuteRoutedEventArgs args) 1967private static void OnQueryStatusCaretNavigation(object target, CanExecuteRoutedEventArgs args)
System\windows\Documents\TextEditorSpelling.cs (1)
238private static void OnQueryStatusSpellingError(object target, CanExecuteRoutedEventArgs args)
System\windows\Documents\TextEditorTables.cs (1)
107private static void OnQueryStatusNYI(object target, CanExecuteRoutedEventArgs args)
System\windows\Documents\TextEditorTyping.cs (5)
418private static void OnQueryStatusCorrectionList(object target, CanExecuteRoutedEventArgs args) 1012private static void OnQueryStatusEnterBreak(object sender, CanExecuteRoutedEventArgs args) 1290private static void OnQueryStatusTabForward(object sender, CanExecuteRoutedEventArgs args) 1306private static void OnQueryStatusTabBackward(object sender, CanExecuteRoutedEventArgs args) 1826private static void OnQueryStatusNYI(object target, CanExecuteRoutedEventArgs args)
System\Windows\Navigation\NavigationWindow.cs (4)
1000private static void OnQueryGoBack(object sender, CanExecuteRoutedEventArgs e) 1015private static void OnQueryGoForward(object sender, CanExecuteRoutedEventArgs e) 1030private static void OnQueryRefresh(object sender, CanExecuteRoutedEventArgs e) 1044private static void OnQueryBrowseStop(object sender, CanExecuteRoutedEventArgs e)
PresentationUI (8)
InstallationError.xaml.cs (1)
191private static void OnCanRefresh(object sender, CanExecuteRoutedEventArgs e)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (4)
1358private static void OnApplicationCommandQuery(object target, CanExecuteRoutedEventArgs e) 1440private static void OnNavigationCommandQuery(object sender, CanExecuteRoutedEventArgs e) 1493private static void OnDigSigQuery(object sender, CanExecuteRoutedEventArgs e) 1592private static void OnRMQuery(object sender, CanExecuteRoutedEventArgs e)
TenFeetInstallationError.xaml.cs (1)
195private static void OnCanRefresh(object sender, CanExecuteRoutedEventArgs e)
TenFeetInstallationProgress.xaml.cs (2)
140private static void OnCanRefresh(object sender, CanExecuteRoutedEventArgs e) 155private static void OnCanStop(object sender, CanExecuteRoutedEventArgs e)
System.Windows.Controls.Ribbon (12)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (6)
2421private static void AddToQATCanExecute(object sender, CanExecuteRoutedEventArgs args) 2469private static void MaximizeRibbonCanExecute(object sender, CanExecuteRoutedEventArgs args) 2498private static void MinimizeRibbonCanExecute(object sender, CanExecuteRoutedEventArgs args) 2527private static void RemoveFromQATCanExecute(object sender, CanExecuteRoutedEventArgs args) 2556private static void ShowQATAboveCanExecute(object sender, CanExecuteRoutedEventArgs args) 2586private static void ShowQATBelowCanExecute(object sender, CanExecuteRoutedEventArgs args)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
1783private static void FilterCanExecute(object sender, CanExecuteRoutedEventArgs args)
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (5)
164private static void MinimizeWindowCanExecute(object sender, CanExecuteRoutedEventArgs args) 188private static void MaximizeWindowCanExecute(object sender, CanExecuteRoutedEventArgs args) 212private static void RestoreWindowCanExecute(object sender, CanExecuteRoutedEventArgs args) 236private static void CloseWindowCanExecute(object sender, CanExecuteRoutedEventArgs args) 255private static void SystemMenuCanExecute(object sender, CanExecuteRoutedEventArgs args)