RoutedCommand.ICommand.CanExecute Method (Object)


For a description of this members, see CanExecute.

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

private abstract CanExecute : 
        parameter:Object -> bool
private override CanExecute : 
        parameter:Object -> bool


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