ButtonBase.OnRequestCommandExecute(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.

Volání v kontextu OnClick(EventArgs) vyvolání Execute(Object) , pokud kontext umožňuje.

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

Parametry

e
EventArgs

Prázdná EventArgs instance.

Atributy

Platí pro