TextBox.CopyingToClipboard Kejadian

Definisi

Terjadi sebelum teks yang disalin dipindahkan ke clipboard.

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

Jenis Acara

Persyaratan Windows

Rangkaian perangkat
Windows 10 Fall Creators Update (diperkenalkan dalam 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v5.0)

Berlaku untuk

Lihat juga