DelegateCommand<T>.CanExecute(Object) Method

Definition

Gets a value indicating whether this command is executable.

public:
 virtual bool CanExecute(System::Object ^ parameter);
[System.Diagnostics.DebuggerStepThrough]
public virtual bool CanExecute (object parameter);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member CanExecute : obj -> bool
override this.CanExecute : obj -> bool
Public Overridable Function CanExecute (parameter As Object) As Boolean

Parameters

parameter
Object

A parameter to pass to the canExecute delegate (specified in the constructor).

Returns

True if the command is executable or if the canExecute given during initialization was null.

Implements

Attributes

Applies to