DelegateCommand<T>.CanExecute(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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