25 references to CanExecute
PresentationCore (2)
System\Windows\Input\Command\CommandManager.cs (1)
662e.CanExecute = command.CanExecute(e.Parameter, newSource);
System\Windows\Input\Stylus\Common\StylusLogic.cs (1)
759if (command.CanExecute(null, element))
PresentationFramework (15)
MS\Internal\AppModel\OleCmdHelper.cs (2)
306if (_command.CanExecute(argument, target)) 329return _command.CanExecute(argument, target);
MS\Internal\Commands\CommandHelpers.cs (3)
134return routed.CanExecute(parameter, target); 171if (routed.CanExecute(parameter, target)) 188if (routed.CanExecute(parameter, target))
System\Windows\Controls\DataGrid.cs (2)
3188BeginEditCommand.CanExecute(editingEventArgs, cellContainer)) 3333if (command.CanExecute(editingUnit, cellContainer))
System\Windows\Controls\Primitives\ScrollBar.cs (3)
415if (command.CanExecute(value, target)) 437if (command.CanExecute(newValue, target)) 453if (command.CanExecute(newValue, target))
System\windows\Documents\TextEditorTyping.cs (2)
1360EditingCommands.IncreaseIndentation.CanExecute(null, (IInputElement)sender)) 1392EditingCommands.DecreaseIndentation.CanExecute(null, (IInputElement)sender))
System\Windows\Navigation\NavigationService.cs (1)
387if (ScrollBar.ScrollToTopCommand.CanExecute(null, elem))
System\Windows\Shell\ThumbButtonInfo.cs (2)
267if (routedCommand.CanExecute(parameter, target)) 307CanExecute = routed.CanExecute(parameter, target);
System.Windows.Controls.Ribbon (8)
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroup.cs (3)
334if (SystemCommands.MaximizeWindowCommand.CanExecute(null, ribbonWindow)) 339else if (SystemCommands.RestoreWindowCommand.CanExecute(null, ribbonWindow)) 386if (SystemCommands.ShowSystemMenuCommand.CanExecute(null, ribbonWindow))
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (3)
332if (SystemCommands.ShowSystemMenuCommand.CanExecute(null, this)) 339if (SystemCommands.CloseWindowCommand.CanExecute(null, this)) 385if (SystemCommands.ShowSystemMenuCommand.CanExecute(e, this))
Microsoft\Windows\Input\CommandHelpers.cs (2)
46if (routed.CanExecute(parameter, target)) 108return routed.CanExecute(parameter, target);