3 implementations of CanExecute
Microsoft.VisualStudio.LanguageServices (1)
Utilities\DelegateCommand.cs (1)
30public bool CanExecute(object parameter)
PresentationCore (1)
System\Windows\Input\Command\RoutedCommand.cs (1)
101bool ICommand.CanExecute(object parameter)
System.Windows.Forms.Tests (1)
System\Windows\Forms\Mocks\DataBinding\RelayCommand.cs (1)
47public bool CanExecute(object? parameter)
12 references to CanExecute
PresentationCore (1)
System\Windows\Input\Command\CommandManager.cs (1)
427if (command.CanExecute(parameter))
PresentationFramework (5)
MS\Internal\Commands\CommandHelpers.cs (3)
138return command.CanExecute(parameter); 176else if (command.CanExecute(parameter)) 193else if (command.CanExecute(parameter))
System\Windows\Shell\ThumbButtonInfo.cs (2)
272else if (command.CanExecute(parameter)) 311CanExecute = Command.CanExecute(parameter);
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Input\CommandHelpers.cs (2)
58else if (command.CanExecute(parameter)) 112return command.CanExecute(parameter);
System.Windows.Forms (4)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
197/// Occurs when the <see cref="Input.ICommand.CanExecute(object?)"/> status of the
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
416/// Occurs when the <see cref="Input.ICommand.CanExecute(object?)"/> status of the
System\Windows\Forms\DataBinding\ICommandBindingTargetProvider.cs (2)
120Enabled = commandBackingField.CanExecute(CommandParameter); 127Enabled = Command?.CanExecute(CommandParameter) ?? false;