ICommand.CanExecute Method
Collapse the table of content
Expand the table of content

RoutedCommand.ICommand.CanExecute Method (Object)

.NET Framework (current version)

For a description of this members, see CanExecute.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

bool ICommand.CanExecute(
	object parameter


Type: System.Object

Data used by the command. If the command does not require data to be passed, this object can be set to null.

Return Value

Type: System.Boolean

true if this command can be executed; otherwise, false.

This member is an explicit interface member implementation. It can be used only when the RoutedCommand instance is cast to an ICommand interface.

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft