Condividi tramite


ButtonBase.OnCommandCanExecuteChanged(EventArgs) Metodo

Definizione

Nota

Per usare questa API di anteprima, devi abilitare le funzionalità di anteprima nel progetto impostando la proprietà EnablePreviewFeatures su True nel file del progetto. Per altre informazioni, vedere https://aka.ms/dotnet-preview-features.

Genera l'evento CommandCanExecuteChanged.

protected:
 virtual void OnCommandCanExecuteChanged(EventArgs ^ e);
[System.Runtime.Versioning.RequiresPreviewFeatures]
protected virtual void OnCommandCanExecuteChanged (EventArgs e);
protected virtual void OnCommandCanExecuteChanged (EventArgs e);
[<System.Runtime.Versioning.RequiresPreviewFeatures>]
abstract member OnCommandCanExecuteChanged : EventArgs -> unit
override this.OnCommandCanExecuteChanged : EventArgs -> unit
abstract member OnCommandCanExecuteChanged : EventArgs -> unit
override this.OnCommandCanExecuteChanged : EventArgs -> unit
Protected Overridable Sub OnCommandCanExecuteChanged (e As EventArgs)

Parametri

e
EventArgs

Istanza vuota EventArgs .

Attributi

Si applica a