共用方式為


IAsyncCommand.CanExecute Property

Definition

Gets a value indicating whether the command can execute in its current state.

public bool CanExecute { get; }
member this.CanExecute : bool
Public ReadOnly Property CanExecute As Boolean

Property Value

Remarks

If CanExecute is not constant, implement INotifyPropertyChanged and raise PropertyChanged when the value of CanExecute changes.

Applies to