แก้ไข

แชร์ผ่าน


ToolStripItem.OnRequestCommandExecute(EventArgs) Method

Definition

Note

To use this preview API, you must enable preview features in your project by setting the EnablePreviewFeatures property to True in your project file. For more information, see https://aka.ms/dotnet-preview-features.

Called in the context of OnClick(EventArgs) to invoke Execute(Object) if the context allows.

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

Parameters

e
EventArgs

An empty EventArgs instance.

Attributes

Applies to