TextBox.CopyingToClipboard Событие

Определение

Происходит перед перемещением скопированного текста в буфер обмена.

// 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"/>

Тип события

Применяется к

См. также раздел