38 references to CanExecuteRoutedEventHandler
PresentationCore (11)
System\Windows\Input\Command\CanExecuteRoutedEventArgs.cs (2)
85CanExecuteRoutedEventHandler handler = (CanExecuteRoutedEventHandler)genericHandler;
System\Windows\Input\Command\CommandBinding.cs (3)
54public CommandBinding(ICommand command, ExecutedRoutedEventHandler executed, CanExecuteRoutedEventHandler canExecute) 104public event CanExecuteRoutedEventHandler PreviewCanExecute; 109public event CanExecuteRoutedEventHandler CanExecute;
System\Windows\Input\Command\CommandManager.cs (6)
109typeof(CanExecuteRoutedEventHandler), 117public static void AddPreviewCanExecuteHandler(UIElement element, CanExecuteRoutedEventHandler handler) 130public static void RemovePreviewCanExecuteHandler(UIElement element, CanExecuteRoutedEventHandler handler) 144typeof(CanExecuteRoutedEventHandler), 152public static void AddCanExecuteHandler(UIElement element, CanExecuteRoutedEventHandler handler) 165public static void RemoveCanExecuteHandler(UIElement element, CanExecuteRoutedEventHandler handler)
PresentationFramework (24)
MS\Internal\Commands\CommandHelpers.cs (8)
40CanExecuteRoutedEventHandler canExecuteRoutedEventHandler) 46CanExecuteRoutedEventHandler canExecuteRoutedEventHandler, InputGesture inputGesture) 52CanExecuteRoutedEventHandler canExecuteRoutedEventHandler, Key key) 58CanExecuteRoutedEventHandler canExecuteRoutedEventHandler, InputGesture inputGesture, InputGesture inputGesture2) 64CanExecuteRoutedEventHandler canExecuteRoutedEventHandler, 72ExecutedRoutedEventHandler executedRoutedEventHandler, CanExecuteRoutedEventHandler canExecuteRoutedEventHandler) 85CanExecuteRoutedEventHandler canExecuteRoutedEventHandler, string srid1, string srid2) 93CanExecuteRoutedEventHandler canExecuteRoutedEventHandler, params InputGesture[] inputGestures)
System\Windows\Controls\DocumentViewer.cs (1)
1474CanExecuteRoutedEventHandler queryEnabledHandler = new CanExecuteRoutedEventHandler(QueryEnabledHandler);
System\Windows\Controls\FlowDocumentReader.cs (1)
1323CanExecuteRoutedEventHandler canExecuteHandler;
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1320CanExecuteRoutedEventHandler canExecuteHandler;
System\Windows\Controls\InkCanvas.cs (1)
2463CanExecuteRoutedEventHandler pasteQueryEnabledEventHandler = new CanExecuteRoutedEventHandler(_OnQueryCommandEnabled);
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1451CanExecuteRoutedEventHandler canExecuteHandler;
System\Windows\Controls\Primitives\ScrollBar.cs (1)
674var onQueryScrollCommand = new CanExecuteRoutedEventHandler(OnQueryScrollCommand);
System\Windows\Controls\ScrollViewer.cs (1)
2626CanExecuteRoutedEventHandler canExecuteScrollCommandEventHandler = new CanExecuteRoutedEventHandler(OnQueryScrollCommand);
System\Windows\Controls\SinglePageViewer.cs (1)
1250CanExecuteRoutedEventHandler canExecuteHandler;
System\windows\Documents\TextEditorCharacters.cs (1)
31var onQueryStatusNYI = new CanExecuteRoutedEventHandler(OnQueryStatusNYI);
System\windows\Documents\TextEditorCopyPaste.cs (1)
47CanExecuteRoutedEventHandler CanExecuteRoutedEventHandler = new CanExecuteRoutedEventHandler(OnQueryStatusPaste);
System\windows\Documents\TextEditorParagraphs.cs (1)
30CanExecuteRoutedEventHandler onQueryStatusNYI = new CanExecuteRoutedEventHandler(OnQueryStatusNYI);
System\windows\Documents\TextEditorSelection.cs (2)
36CanExecuteRoutedEventHandler queryStatusCaretNavigationHandler = new CanExecuteRoutedEventHandler(OnQueryStatusCaretNavigation); 37CanExecuteRoutedEventHandler queryStatusKeyboardSelectionHandler = new CanExecuteRoutedEventHandler(OnQueryStatusKeyboardSelection);
System\windows\Documents\TextEditorTables.cs (1)
31var onQueryStatusNYI = new CanExecuteRoutedEventHandler(OnQueryStatusNYI);
System\windows\Documents\TextEditorTyping.cs (2)
63var onQueryStatusNYI = new CanExecuteRoutedEventHandler(OnQueryStatusNYI); 64var onQueryStatusEnterBreak = new CanExecuteRoutedEventHandler(OnQueryStatusEnterBreak);
PresentationUI (3)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (3)
2003CanExecuteRoutedEventHandler queryEnabledHandler = new CanExecuteRoutedEventHandler(OnDigSigQuery); 2104ExecutedRoutedEventHandler executeHandler, CanExecuteRoutedEventHandler queryEnabledHandler) 2121CanExecuteRoutedEventHandler queryEnabledHandler)