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