ContextMenuEventHandler Delegate
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.
Represents the method that will handle the ContextMenuOpening and ContextMenuClosing routed events, as well as equivalent ContentElement events.
public delegate void ContextMenuEventHandler(System::Object ^ sender, ContextMenuEventArgs ^ e);
public delegate void ContextMenuEventHandler(object sender, ContextMenuEventArgs e);
type ContextMenuEventHandler = delegate of obj * ContextMenuEventArgs -> unit
Public Delegate Sub ContextMenuEventHandler(sender As Object, e As ContextMenuEventArgs)
Parameters
- sender
- Object
The object where the event handler is attached.
The event data.
Extension Methods
GetMethodInfo(Delegate) |
Gets an object that represents the method represented by the specified delegate. |
Applies to
See also
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา