共用方式為


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 引進)

適用於

另請參閱