19 references to CanExecute
PresentationCore (1)
Core\CSharp\System\Windows\Input\Command\CommandManager.cs (1)
761e.CanExecute = command.CanExecute(e.Parameter, newSource);
PresentationFramework (14)
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (1)
943if (ApplicationCommands.Print.CanExecute(null, target))
src\Framework\MS\Internal\Commands\CommandHelpers.cs (3)
138return routed.CanExecute(parameter, target); 187if (routed.CanExecute(parameter, target)) 204if (routed.CanExecute(parameter, target))
src\Framework\System\Windows\Controls\DataGrid.cs (2)
3193BeginEditCommand.CanExecute(editingEventArgs, cellContainer)) 3338if (command.CanExecute(editingUnit, cellContainer))
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (3)
420if (command.CanExecute(value, target)) 442if (command.CanExecute(newValue, target)) 458if (command.CanExecute(newValue, target))
src\Framework\System\windows\Documents\TextEditorTyping.cs (2)
1377EditingCommands.IncreaseIndentation.CanExecute(null, (IInputElement)sender)) 1409EditingCommands.DecreaseIndentation.CanExecute(null, (IInputElement)sender))
src\Framework\System\Windows\Navigation\NavigationService.cs (1)
419if (ScrollBar.ScrollToTopCommand.CanExecute(null, elem))
src\Framework\System\Windows\Shell\ThumbButtonInfo.cs (2)
265if (routedCommand.CanExecute(parameter, target)) 305CanExecute = routed.CanExecute(parameter, target);
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainer.xaml.cs (1)
341if (CategoryContainerCommands.UpdateCategoryExpansionState.CanExecute(null, d as IInputElement))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ValueEditorUtils.cs (1)
71if (routedCommand.CanExecute(parameter, element))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyContainer.cs (1)
169if (OpenDialogWindow.CanExecute(null, theThis))
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (1)
511if (cmd.CanExecute(btn.CommandParameter, this.dataGrid))