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