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)