CanExecuteRequestedEventArgs.CanExecute Property

Definition

Gets or sets a value indicating whether the ICommand that raised this event is able to execute.

public:
 property bool CanExecute { bool get(); void set(bool value); };
bool CanExecute();

void CanExecute(bool value);
public bool CanExecute { get; set; }
var boolean = canExecuteRequestedEventArgs.canExecute;
canExecuteRequestedEventArgs.canExecute = boolean;
Public Property CanExecute As Boolean

Property Value

Boolean

bool

true if the ICommand is able to execute; otherwise, false.

Applies to

See also