Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

copy | oncopy event

Fires on the source element when the user copies the object or selection, adding it to the system clipboard.

Syntax

HTML Attribute <element oncopy = "handler(event)">
Event Property object.oncopy = handler;
addEventListener Method object.addEventListener("copy", handler, useCapture)

 

Event information

SynchronousYes
BubblesNo
CancelableNo

 

Event handler parameters

pEvent [in]

Type: Event

The event object.

See also

Element
beforecopy

 

 

Show:
© 2016 Microsoft