TextBox.CuttingToClipboard Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs before cut text is moved to the clipboard.
// Register
event_token CuttingToClipboard(TypedEventHandler<TextBox, TextControlCuttingToClipboardEventArgs const&> const& handler) const;
// Revoke with event_token
void CuttingToClipboard(event_token const* cookie) const;
// Revoke with event_revoker
TextBox::CuttingToClipboard_revoker CuttingToClipboard(auto_revoke_t, TypedEventHandler<TextBox, TextControlCuttingToClipboardEventArgs const&> const& handler) const;
public event TypedEventHandler<TextBox,TextControlCuttingToClipboardEventArgs> CuttingToClipboard;
function onCuttingToClipboard(eventArgs) { /* Your code */ }
textBox.addEventListener("cuttingtoclipboard", onCuttingToClipboard);
textBox.removeEventListener("cuttingtoclipboard", onCuttingToClipboard);
- or -
textBox.oncuttingtoclipboard = onCuttingToClipboard;
Public Custom Event CuttingToClipboard As TypedEventHandler(Of TextBox, TextControlCuttingToClipboardEventArgs)
<TextBox CuttingToClipboard="eventhandler"/>
Event Type
Windows requirements
Device family |
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v5.0)
|