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