Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight Namespace / C1Command Class / CanExecute Method
A user defined data type.
The command target.

In This Topic
    CanExecute Method (C1Command)
    In This Topic
    Determines whether this C1Command can execute in its current state.
    Syntax
    'Declaration
     
    
    Public Function CanExecute( _
       ByVal parameter As Object, _
       ByVal target As UIElement _
    ) As Boolean
    public bool CanExecute( 
       object parameter,
       UIElement target
    )

    Parameters

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

    Return Value

    True if the command can execute on the current command target; otherwise, False.
    See Also