35 references to CanExecuteRoutedEventHandler
PresentationCore (11)
Core\CSharp\System\Windows\Input\Command\CanExecuteRoutedEventArgs.cs (2)
91
CanExecuteRoutedEventHandler
handler = (
CanExecuteRoutedEventHandler
)genericHandler;
Core\CSharp\System\Windows\Input\Command\CommandBinding.cs (3)
61
public CommandBinding(ICommand command, ExecutedRoutedEventHandler executed,
CanExecuteRoutedEventHandler
canExecute)
123
public event
CanExecuteRoutedEventHandler
PreviewCanExecute;
128
public event
CanExecuteRoutedEventHandler
CanExecute;
Core\CSharp\System\Windows\Input\Command\CommandManager.cs (6)
145
typeof(
CanExecuteRoutedEventHandler
),
153
public static void AddPreviewCanExecuteHandler(UIElement element,
CanExecuteRoutedEventHandler
handler)
172
public static void RemovePreviewCanExecuteHandler(UIElement element,
CanExecuteRoutedEventHandler
handler)
192
typeof(
CanExecuteRoutedEventHandler
),
200
public static void AddCanExecuteHandler(UIElement element,
CanExecuteRoutedEventHandler
handler)
219
public static void RemoveCanExecuteHandler(UIElement element,
CanExecuteRoutedEventHandler
handler)
PresentationFramework (24)
src\Framework\MS\Internal\Commands\CommandHelpers.cs (8)
48
CanExecuteRoutedEventHandler
canExecuteRoutedEventHandler)
54
CanExecuteRoutedEventHandler
canExecuteRoutedEventHandler, InputGesture inputGesture)
60
CanExecuteRoutedEventHandler
canExecuteRoutedEventHandler, Key key)
66
CanExecuteRoutedEventHandler
canExecuteRoutedEventHandler, InputGesture inputGesture, InputGesture inputGesture2)
72
CanExecuteRoutedEventHandler
canExecuteRoutedEventHandler,
80
ExecutedRoutedEventHandler executedRoutedEventHandler,
CanExecuteRoutedEventHandler
canExecuteRoutedEventHandler)
93
CanExecuteRoutedEventHandler
canExecuteRoutedEventHandler, string srid1, string srid2)
101
CanExecuteRoutedEventHandler
canExecuteRoutedEventHandler, params InputGesture[] inputGestures)
src\Framework\System\Windows\Controls\DocumentViewer.cs (1)
1511
CanExecuteRoutedEventHandler
queryEnabledHandler = new CanExecuteRoutedEventHandler(QueryEnabledHandler);
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (1)
1334
CanExecuteRoutedEventHandler
canExecuteHandler;
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1331
CanExecuteRoutedEventHandler
canExecuteHandler;
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
2607
CanExecuteRoutedEventHandler
pasteQueryEnabledEventHandler = new CanExecuteRoutedEventHandler(_OnQueryCommandEnabled);
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1468
CanExecuteRoutedEventHandler
canExecuteHandler;
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (1)
695
var
onQueryScrollCommand = new CanExecuteRoutedEventHandler(OnQueryScrollCommand);
src\Framework\System\Windows\Controls\ScrollViewer.cs (1)
2674
CanExecuteRoutedEventHandler
canExecuteScrollCommandEventHandler = new CanExecuteRoutedEventHandler(OnQueryScrollCommand);
src\Framework\System\Windows\Controls\SinglePageViewer.cs (1)
1260
CanExecuteRoutedEventHandler
canExecuteHandler;
src\Framework\System\windows\Documents\TextEditorCharacters.cs (1)
49
var
onQueryStatusNYI = new CanExecuteRoutedEventHandler(OnQueryStatusNYI);
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (1)
69
CanExecuteRoutedEventHandler
CanExecuteRoutedEventHandler = new CanExecuteRoutedEventHandler(OnQueryStatusPaste);
src\Framework\System\windows\Documents\TextEditorParagraphs.cs (1)
49
CanExecuteRoutedEventHandler
onQueryStatusNYI = new CanExecuteRoutedEventHandler(OnQueryStatusNYI);
src\Framework\System\windows\Documents\TextEditorSelection.cs (2)
59
CanExecuteRoutedEventHandler
queryStatusCaretNavigationHandler = new CanExecuteRoutedEventHandler(OnQueryStatusCaretNavigation);
60
CanExecuteRoutedEventHandler
queryStatusKeyboardSelectionHandler = new CanExecuteRoutedEventHandler(OnQueryStatusKeyboardSelection);
src\Framework\System\windows\Documents\TextEditorTables.cs (1)
50
var
onQueryStatusNYI = new CanExecuteRoutedEventHandler(OnQueryStatusNYI);
src\Framework\System\windows\Documents\TextEditorTyping.cs (2)
75
var
onQueryStatusNYI = new CanExecuteRoutedEventHandler(OnQueryStatusNYI);
76
var
onQueryStatusEnterBreak = new CanExecuteRoutedEventHandler(OnQueryStatusEnterBreak);