23 references to CanExecute
PresentationCore (2)
System\Windows\Input\Command\CommandManager.cs (1)
654
e.CanExecute = command.
CanExecute
(e.Parameter, newSource);
System\Windows\Input\Stylus\Common\StylusLogic.cs (1)
742
if (command.
CanExecute
(null, element))
PresentationFramework (13)
MS\Internal\Commands\CommandHelpers.cs (3)
125
return routed.
CanExecute
(parameter, target);
162
if (routed.
CanExecute
(parameter, target))
179
if (routed.
CanExecute
(parameter, target))
System\Windows\Controls\DataGrid.cs (2)
3161
BeginEditCommand.
CanExecute
(editingEventArgs, cellContainer))
3306
if (command.
CanExecute
(editingUnit, cellContainer))
System\Windows\Controls\Primitives\ScrollBar.cs (3)
398
if (command.
CanExecute
(value, target))
420
if (command.
CanExecute
(newValue, target))
436
if (command.
CanExecute
(newValue, target))
System\windows\Documents\TextEditorTyping.cs (2)
1338
EditingCommands.IncreaseIndentation.
CanExecute
(null, (IInputElement)sender))
1370
EditingCommands.DecreaseIndentation.
CanExecute
(null, (IInputElement)sender))
System\Windows\Navigation\NavigationService.cs (1)
372
if (ScrollBar.ScrollToTopCommand.
CanExecute
(null, elem))
System\Windows\Shell\ThumbButtonInfo.cs (2)
263
if (routedCommand.
CanExecute
(parameter, target))
303
CanExecute = routed.
CanExecute
(parameter, target);
System.Windows.Controls.Ribbon (8)
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroup.cs (3)
331
if (SystemCommands.MaximizeWindowCommand.
CanExecute
(null, ribbonWindow))
336
else if (SystemCommands.RestoreWindowCommand.
CanExecute
(null, ribbonWindow))
383
if (SystemCommands.ShowSystemMenuCommand.
CanExecute
(null, ribbonWindow))
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (3)
326
if (SystemCommands.ShowSystemMenuCommand.
CanExecute
(null, this))
333
if (SystemCommands.CloseWindowCommand.
CanExecute
(null, this))
379
if (SystemCommands.ShowSystemMenuCommand.
CanExecute
(e, this))
Microsoft\Windows\Input\CommandHelpers.cs (2)
37
if (routed.
CanExecute
(parameter, target))
93
return routed.
CanExecute
(parameter, target);