Intersoft ClientUI Documentation
CanExecute Method (RoutedCommand)



A user defined data type.
The command target.
Determines whether this RoutedCommand can execute in its current state.
Syntax
Public Function CanExecute( _
   ByVal parameter As Object, _
   ByVal target As UIElement _
) As Boolean
Dim instance As RoutedCommand
Dim parameter As Object
Dim target As UIElement
Dim value As Boolean
 
value = instance.CanExecute(parameter, target)
public bool CanExecute( 
   object parameter,
   UIElement target
)
public:
bool CanExecute( 
   Object^ parameter,
   UIElement^ target
) 

Parameters

parameter
A user defined data type.
target
The command target.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RoutedCommand Class
RoutedCommand Members

Send Feedback