Bagikan melalui


ToolStripItem.OnCommandCanExecuteChanged(EventArgs) Metode

Definisi

Catatan

Untuk menggunakan API pratinjau ini, Anda harus mengaktifkan fitur pratinjau di proyek dengan mengatur properti ke EnablePreviewFeaturesTrue dalam file proyek Anda. Untuk informasi selengkapnya, lihat https://aka.ms/dotnet-preview-features .

Memunculkan kejadian 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)

Parameter

e
EventArgs

Instans kosong EventArgs .

Atribut

Berlaku untuk