TextBox.CuttingToClipboard Événement

Définition

Se produit avant que le texte coupé ne soit déplacé dans le Presse-papiers.

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

Type d'événement

Configuration requise pour Windows

Famille d’appareils
Windows 10 Fall Creators Update (introduit dans 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v5.0)

S’applique à

Voir aussi