ContextMenuOpeningEventHandler 委托

定义

表示将处理多个文本相关 UI 元素上存在的 ContextMenuOpening 事件的方法。

public delegate void ContextMenuOpeningEventHandler(Platform::Object ^ sender, ContextMenuEventArgs ^ e);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3751039313, 29788, 17478, 178, 252, 33, 109, 118, 88, 71, 160)]
class ContextMenuOpeningEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3751039313, 29788, 17478, 178, 252, 33, 109, 118, 88, 71, 160)]
public delegate void ContextMenuOpeningEventHandler(object sender, ContextMenuEventArgs e);
Public Delegate Sub ContextMenuOpeningEventHandler(sender As Object, e As ContextMenuEventArgs)

参数

sender
Object

Platform::Object

IInspectable

事件处理程序所附加到的对象。

e
ContextMenuEventArgs

事件的事件数据。

属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

适用于

另请参阅