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, null /* parameter */);
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)
2192private static void OnPreviewCanExecuteThunk(object sender, CanExecuteRoutedEventArgs e) 2200private 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, null /* parameter */); 595CanExecuteRoutedEventArgs canExArgs = execute ? default : (CanExecuteRoutedEventArgs)e; 619CanExecuteCommandBinding(sender, (CanExecuteRoutedEventArgs)e, commandBinding); 641!execute && CanExecuteCommandBinding(sender, (CanExecuteRoutedEventArgs)e, commandBinding); 644private static void TransferEvent(IInputElement newSource, CanExecuteRoutedEventArgs e)
System\Windows\Input\Command\RoutedCommand.cs (2)
322CanExecuteRoutedEventArgs args = new CanExecuteRoutedEventArgs(this, parameter); 341private void CriticalCanExecuteWrapper(object parameter, IInputElement target, bool trusted, CanExecuteRoutedEventArgs args)
PresentationFramework (62)
System\Windows\Annotations\AnnotationHelper.cs (6)
382internal static void OnQueryCreateHighlightCommand(object sender, CanExecuteRoutedEventArgs e) 394internal static void OnQueryCreateTextStickyNoteCommand(object sender, CanExecuteRoutedEventArgs e) 406internal static void OnQueryCreateInkStickyNoteCommand(object sender, CanExecuteRoutedEventArgs e) 418internal static void OnQueryClearHighlightsCommand(object sender, CanExecuteRoutedEventArgs e) 430internal static void OnQueryDeleteStickyNotesCommand(object sender, CanExecuteRoutedEventArgs e) 442internal static void OnQueryDeleteAnnotationsCommand(object sender, CanExecuteRoutedEventArgs e)
System\Windows\Controls\DataGrid.cs (12)
2077private static void OnCanExecuteBeginEdit(object sender, CanExecuteRoutedEventArgs e) 2090protected virtual void OnCanExecuteBeginEdit(CanExecuteRoutedEventArgs e) 2282private static void OnCanExecuteCommitEdit(object sender, CanExecuteRoutedEventArgs e) 2299private bool CanEndEdit(CanExecuteRoutedEventArgs e, bool commit) 2325protected virtual void OnCanExecuteCommitEdit(CanExecuteRoutedEventArgs e) 2486private static void OnCanExecuteCancelEdit(object sender, CanExecuteRoutedEventArgs e) 2499protected virtual void OnCanExecuteCancelEdit(CanExecuteRoutedEventArgs e) 2578private static void OnCanExecuteDelete(object sender, CanExecuteRoutedEventArgs e) 2591protected virtual void OnCanExecuteDelete(CanExecuteRoutedEventArgs e) 4329private static void OnCanExecuteSelectAll(object sender, CanExecuteRoutedEventArgs e) 8244private static void OnCanExecuteCopy(object target, CanExecuteRoutedEventArgs args) 8253protected virtual void OnCanExecuteCopy(CanExecuteRoutedEventArgs args)
System\Windows\Controls\DocumentViewer.cs (1)
1726private static void QueryEnabledHandler(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\FlowDocumentReader.cs (2)
1376private static void CanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args) 1603private void PreviewCanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
1396private static void CanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args) 1563private void PreviewCanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\Frame.cs (3)
616private void OnQueryGoBack(object sender, CanExecuteRoutedEventArgs e) 629private void OnQueryGoForward(object sender, CanExecuteRoutedEventArgs e) 661private void OnQueryRefresh(object sender, CanExecuteRoutedEventArgs e)
System\Windows\Controls\InkCanvas.cs (1)
2758private 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)
1495private static void CanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\Primitives\ScrollBar.cs (2)
638private static void OnQueryScrollHereCommand(object target, CanExecuteRoutedEventArgs args) 643private static void OnQueryScrollCommand(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\ScrollViewer.cs (1)
2578private static void OnQueryScrollCommand(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\SinglePageViewer.cs (2)
1287private static void CanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args) 1341private void PreviewCanExecuteRoutedEventHandler(object target, CanExecuteRoutedEventArgs args)
System\Windows\Controls\StickyNote.cs (1)
1727private static void _OnQueryCommandEnabled(object sender, CanExecuteRoutedEventArgs args)
System\Windows\Controls\TextBox.cs (2)
974private static void OnCanExecuteClearCommand(object target, CanExecuteRoutedEventArgs args) 1908private static void OnQueryScrollCommand(object target, CanExecuteRoutedEventArgs args)
System\Windows\Documents\RubberbandSelector.cs (1)
486private void QueryCopy(object sender, CanExecuteRoutedEventArgs e)
System\windows\Documents\TextEditor.cs (2)
1877private static void OnQueryStatusUndo(object sender, CanExecuteRoutedEventArgs args) 1897private 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)
478private static void OnQueryStatusCut(object target, CanExecuteRoutedEventArgs args) 523private static void OnQueryStatusCopy(object target, CanExecuteRoutedEventArgs args) 569private static void OnQueryStatusPaste(object target, CanExecuteRoutedEventArgs args) 614private static void OnQueryStatusCopyFormat(object target, CanExecuteRoutedEventArgs args) 636private 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)
425private static void OnQueryStatusCorrectionList(object target, CanExecuteRoutedEventArgs args) 1022private static void OnQueryStatusEnterBreak(object sender, CanExecuteRoutedEventArgs args) 1303private static void OnQueryStatusTabForward(object sender, CanExecuteRoutedEventArgs args) 1319private static void OnQueryStatusTabBackward(object sender, CanExecuteRoutedEventArgs args) 1839private static void OnQueryStatusNYI(object target, CanExecuteRoutedEventArgs args)
System\Windows\Navigation\NavigationWindow.cs (4)
1005private static void OnQueryGoBack(object sender, CanExecuteRoutedEventArgs e) 1020private static void OnQueryGoForward(object sender, CanExecuteRoutedEventArgs e) 1035private static void OnQueryRefresh(object sender, CanExecuteRoutedEventArgs e) 1049private 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)
1348private static void OnApplicationCommandQuery(object target, CanExecuteRoutedEventArgs e) 1430private static void OnNavigationCommandQuery(object sender, CanExecuteRoutedEventArgs e) 1483private static void OnDigSigQuery(object sender, CanExecuteRoutedEventArgs e) 1582private 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)
2447private static void AddToQATCanExecute(object sender, CanExecuteRoutedEventArgs args) 2495private static void MaximizeRibbonCanExecute(object sender, CanExecuteRoutedEventArgs args) 2524private static void MinimizeRibbonCanExecute(object sender, CanExecuteRoutedEventArgs args) 2553private static void RemoveFromQATCanExecute(object sender, CanExecuteRoutedEventArgs args) 2582private static void ShowQATAboveCanExecute(object sender, CanExecuteRoutedEventArgs args) 2612private static void ShowQATBelowCanExecute(object sender, CanExecuteRoutedEventArgs args)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
1780private 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)