ContextMenuOpeningEventHandler 委托

定义

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

public delegate void ContextMenuOpeningEventHandler(Platform::Object ^ sender, ContextMenuEventArgs ^ e);
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(3490774881, 16487, 21098, 149, 163, 81, 117, 119, 188, 82, 115)]
public delegate void ContextMenuOpeningEventHandler(object sender, ContextMenuEventArgs e);
Public Delegate Sub ContextMenuOpeningEventHandler(sender As Object, e As ContextMenuEventArgs)

参数

sender
Object

Platform::Object

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

e
ContextMenuEventArgs

事件的事件数据。

属性

适用于

另请参阅