PenButtonListener.TailButtonDoubleClicked 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
發生于使用者按下並放開 (按一下) 手寫筆尾端的按鈕兩次快速連續。
// Register
event_token TailButtonDoubleClicked(TypedEventHandler<PenButtonListener, PenTailButtonDoubleClickedEventArgs const&> const& handler) const;
// Revoke with event_token
void TailButtonDoubleClicked(event_token const* cookie) const;
// Revoke with event_revoker
PenButtonListener::TailButtonDoubleClicked_revoker TailButtonDoubleClicked(auto_revoke_t, TypedEventHandler<PenButtonListener, PenTailButtonDoubleClickedEventArgs const&> const& handler) const;
public event TypedEventHandler<PenButtonListener,PenTailButtonDoubleClickedEventArgs> TailButtonDoubleClicked;
function onTailButtonDoubleClicked(eventArgs) { /* Your code */ }
penButtonListener.addEventListener("tailbuttondoubleclicked", onTailButtonDoubleClicked);
penButtonListener.removeEventListener("tailbuttondoubleclicked", onTailButtonDoubleClicked);
- or -
penButtonListener.ontailbuttondoubleclicked = onTailButtonDoubleClicked;
Public Custom Event TailButtonDoubleClicked As TypedEventHandler(Of PenButtonListener, PenTailButtonDoubleClickedEventArgs)