RoutedCommand.ICommand.CanExecute Method (Object)

 

For a description of this members, see CanExecute.

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

<SecurityCriticalAttribute>
Private Function CanExecute (
	parameter As Object
) As Boolean
	Implements ICommand.CanExecute

Parameters

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
Show: