38 references to CanExecuteRoutedEventHandler
PresentationCore (11)
System\Windows\Input\Command\CanExecuteRoutedEventArgs.cs (2)
89CanExecuteRoutedEventHandler handler = (CanExecuteRoutedEventHandler)genericHandler;
System\Windows\Input\Command\CommandBinding.cs (3)
62public CommandBinding(ICommand command, ExecutedRoutedEventHandler executed, CanExecuteRoutedEventHandler canExecute) 112public event CanExecuteRoutedEventHandler PreviewCanExecute; 117public event CanExecuteRoutedEventHandler CanExecute;
System\Windows\Input\Command\CommandManager.cs (6)
120typeof(CanExecuteRoutedEventHandler), 128public static void AddPreviewCanExecuteHandler(UIElement element, CanExecuteRoutedEventHandler handler) 141public static void RemovePreviewCanExecuteHandler(UIElement element, CanExecuteRoutedEventHandler handler) 155typeof(CanExecuteRoutedEventHandler), 163public static void AddCanExecuteHandler(UIElement element, CanExecuteRoutedEventHandler handler) 176public static void RemoveCanExecuteHandler(UIElement element, CanExecuteRoutedEventHandler handler)
PresentationFramework (24)
MS\Internal\Commands\CommandHelpers.cs (8)
45CanExecuteRoutedEventHandler canExecuteRoutedEventHandler) 51CanExecuteRoutedEventHandler canExecuteRoutedEventHandler, InputGesture inputGesture) 57CanExecuteRoutedEventHandler canExecuteRoutedEventHandler, Key key) 63CanExecuteRoutedEventHandler canExecuteRoutedEventHandler, InputGesture inputGesture, InputGesture inputGesture2) 69CanExecuteRoutedEventHandler canExecuteRoutedEventHandler, 77ExecutedRoutedEventHandler executedRoutedEventHandler, CanExecuteRoutedEventHandler canExecuteRoutedEventHandler) 90CanExecuteRoutedEventHandler canExecuteRoutedEventHandler, string srid1, string srid2) 98CanExecuteRoutedEventHandler canExecuteRoutedEventHandler, params InputGesture[] inputGestures)
System\Windows\Controls\DocumentViewer.cs (1)
1486CanExecuteRoutedEventHandler queryEnabledHandler = new CanExecuteRoutedEventHandler(QueryEnabledHandler);
System\Windows\Controls\FlowDocumentReader.cs (1)
1328CanExecuteRoutedEventHandler canExecuteHandler;
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1323CanExecuteRoutedEventHandler canExecuteHandler;
System\Windows\Controls\InkCanvas.cs (1)
2475CanExecuteRoutedEventHandler pasteQueryEnabledEventHandler = new CanExecuteRoutedEventHandler(_OnQueryCommandEnabled);
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1456CanExecuteRoutedEventHandler canExecuteHandler;
System\Windows\Controls\Primitives\ScrollBar.cs (1)
690var onQueryScrollCommand = new CanExecuteRoutedEventHandler(OnQueryScrollCommand);
System\Windows\Controls\ScrollViewer.cs (1)
2634CanExecuteRoutedEventHandler canExecuteScrollCommandEventHandler = new CanExecuteRoutedEventHandler(OnQueryScrollCommand);
System\Windows\Controls\SinglePageViewer.cs (1)
1253CanExecuteRoutedEventHandler canExecuteHandler;
System\windows\Documents\TextEditorCharacters.cs (1)
47var onQueryStatusNYI = new CanExecuteRoutedEventHandler(OnQueryStatusNYI);
System\windows\Documents\TextEditorCopyPaste.cs (1)
60CanExecuteRoutedEventHandler CanExecuteRoutedEventHandler = new CanExecuteRoutedEventHandler(OnQueryStatusPaste);
System\windows\Documents\TextEditorParagraphs.cs (1)
47CanExecuteRoutedEventHandler onQueryStatusNYI = new CanExecuteRoutedEventHandler(OnQueryStatusNYI);
System\windows\Documents\TextEditorSelection.cs (2)
51CanExecuteRoutedEventHandler queryStatusCaretNavigationHandler = new CanExecuteRoutedEventHandler(OnQueryStatusCaretNavigation); 52CanExecuteRoutedEventHandler queryStatusKeyboardSelectionHandler = new CanExecuteRoutedEventHandler(OnQueryStatusKeyboardSelection);
System\windows\Documents\TextEditorTables.cs (1)
48var onQueryStatusNYI = new CanExecuteRoutedEventHandler(OnQueryStatusNYI);
System\windows\Documents\TextEditorTyping.cs (2)
72var onQueryStatusNYI = new CanExecuteRoutedEventHandler(OnQueryStatusNYI); 73var onQueryStatusEnterBreak = new CanExecuteRoutedEventHandler(OnQueryStatusEnterBreak);
PresentationUI (3)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (3)
2010CanExecuteRoutedEventHandler queryEnabledHandler = new CanExecuteRoutedEventHandler(OnDigSigQuery); 2111ExecutedRoutedEventHandler executeHandler, CanExecuteRoutedEventHandler queryEnabledHandler) 2128CanExecuteRoutedEventHandler queryEnabledHandler)