RichEditBox.CuttingToClipboard 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
發生于剪下文字移至剪貼簿之前。
// 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" />
事件類型
Windows 需求
裝置系列 |
Windows 10 Fall Creators Update (已於 10.0.16299.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v5.0 引進)
|