Share via


TextBox.CopyingToClipboard Evento

Definición

Se produce antes de que el texto copiado se mueva al Portapapeles.

// Register
event_token CopyingToClipboard(TypedEventHandler<TextBox, TextControlCopyingToClipboardEventArgs const&> const& handler) const;

// Revoke with event_token
void CopyingToClipboard(event_token const* cookie) const;

// Revoke with event_revoker
TextBox::CopyingToClipboard_revoker CopyingToClipboard(auto_revoke_t, TypedEventHandler<TextBox, TextControlCopyingToClipboardEventArgs const&> const& handler) const;
public event TypedEventHandler<TextBox,TextControlCopyingToClipboardEventArgs> CopyingToClipboard;
function onCopyingToClipboard(eventArgs) { /* Your code */ }
textBox.addEventListener("copyingtoclipboard", onCopyingToClipboard);
textBox.removeEventListener("copyingtoclipboard", onCopyingToClipboard);
- or -
textBox.oncopyingtoclipboard = onCopyingToClipboard;
Public Custom Event CopyingToClipboard As TypedEventHandler(Of TextBox, TextControlCopyingToClipboardEventArgs) 
<TextBox CopyingToClipboard="eventhandler"/>

Tipo de evento

Se aplica a

Consulte también