Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RoutedCommand::ICommand::CanExecute Method (Object^)

 

For a description of this members, see CanExecute.

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

private:
[SecurityCriticalAttribute]
virtual bool CanExecute(
	Object^ parameter
) sealed = 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:
© 2017 Microsoft