ערוך

שתף באמצעות


RoutedCommand.ICommand.CanExecute(Object) Method

Definition

For a description of this members, see CanExecute(Object).

 virtual bool System.Windows.Input.ICommand.CanExecute(System::Object ^ parameter) = System::Windows::Input::ICommand::CanExecute;
[System.Security.SecurityCritical]
bool ICommand.CanExecute (object parameter);
bool ICommand.CanExecute (object parameter);
[<System.Security.SecurityCritical>]
abstract member System.Windows.Input.ICommand.CanExecute : obj -> bool
override this.System.Windows.Input.ICommand.CanExecute : obj -> bool
abstract member System.Windows.Input.ICommand.CanExecute : obj -> bool
override this.System.Windows.Input.ICommand.CanExecute : obj -> bool
Function CanExecute (parameter As Object) As Boolean Implements ICommand.CanExecute

Parameters

parameter
Object

Data used by the command. If the command does not require data to be passed, this object can be set to null.

Returns

true if this command can be executed; otherwise, false.

Implements

Attributes

Remarks

This member is an explicit interface member implementation. It can be used only when the RoutedCommand instance is cast to an ICommand interface.

Applies to

See also