ContextMenuOpeningEventHandler Delegate

Definition

Represents the method that will handle the ContextMenuOpening event that exists on several text-related UI elements.

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)

Parameters

sender
Object

Platform::Object

IInspectable

The object where the event handler is attached.

e
ContextMenuEventArgs

Event data for the event.

Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Applies to

See also