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