Bagikan melalui


RichEditBox.CuttingToClipboard Kejadian

Definisi

Terjadi sebelum teks potong dipindahkan ke clipboard.

// Register
event_token CuttingToClipboard(TypedEventHandler<RichEditBox, TextControlCuttingToClipboardEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
RichEditBox::CuttingToClipboard_revoker CuttingToClipboard(auto_revoke_t, TypedEventHandler<RichEditBox, TextControlCuttingToClipboardEventArgs const&> const& handler) const;
public event TypedEventHandler<RichEditBox,TextControlCuttingToClipboardEventArgs> CuttingToClipboard;
function onCuttingToClipboard(eventArgs) { /* Your code */ }
richEditBox.addEventListener("cuttingtoclipboard", onCuttingToClipboard);
richEditBox.removeEventListener("cuttingtoclipboard", onCuttingToClipboard);
- or -
richEditBox.oncuttingtoclipboard = onCuttingToClipboard;
Public Custom Event CuttingToClipboard As TypedEventHandler(Of RichEditBox, TextControlCuttingToClipboardEventArgs) 
<RichEditBox CuttingToClipboard="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