DelegateCommand.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);
public:
bool CanExecute(Platform::Object ^ parameter);
bool CanExecute(winrt::Windows::Foundation::IInspectable const & parameter);
[System.Diagnostics.DebuggerStepThrough]
public bool CanExecute (object parameter);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member CanExecute : obj -> bool
override this.CanExecute : obj -> bool
Public 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