Bagikan melalui


ButtonBase.OnCommandChanged(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 CommandChanged.

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

Parameter

e
EventArgs

Instans kosong EventArgs .

Atribut

Berlaku untuk