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