ToolStripItem.OnCommandCanExecuteChanged(EventArgs) Metoda

Definice

Poznámka

Pokud chcete toto rozhraní API verze Preview používat, musíte ve svém projektu povolit funkce Preview, a to nastavením vlastnosti EnablePreviewFeatures na True v souboru projektu. Další informace najdete na webu https://aka.ms/dotnet-preview-features.

CommandCanExecuteChanged Vyvolá událost.

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)

Parametry

e
EventArgs

Prázdná EventArgs instance.

Atributy

Platí pro