ComponentOne Basic Library for UWP
C1.UWP Assembly / C1.Xaml Namespace / C1Command Class / CanExecute Method
A user defined data type.
The command target.

In This Topic
    CanExecute Method
    In This Topic
    Determines whether this C1Command can execute in its current state.
    Syntax
    'Declaration
     
    Public Function CanExecute( _
       ByVal parameter As System.Object, _
       ByVal target As Windows.UI.Xaml.UIElement _
    ) As System.Boolean
    public System.bool CanExecute( 
       System.object parameter,
       Windows.UI.Xaml.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