ToolStripItem.OnRequestCommandExecute(EventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Attributes
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.