PenButtonListener.TailButtonClicked 事件

定义

当用户按下并松开 (单击) 笔尾端上的按钮时发生。

// Register
event_token TailButtonClicked(TypedEventHandler<PenButtonListener, PenTailButtonClickedEventArgs const&> const& handler) const;

// Revoke with event_token
void TailButtonClicked(event_token const* cookie) const;

// Revoke with event_revoker
PenButtonListener::TailButtonClicked_revoker TailButtonClicked(auto_revoke_t, TypedEventHandler<PenButtonListener, PenTailButtonClickedEventArgs const&> const& handler) const;
public event TypedEventHandler<PenButtonListener,PenTailButtonClickedEventArgs> TailButtonClicked;
function onTailButtonClicked(eventArgs) { /* Your code */ }
penButtonListener.addEventListener("tailbuttonclicked", onTailButtonClicked);
penButtonListener.removeEventListener("tailbuttonclicked", onTailButtonClicked);
- or -
penButtonListener.ontailbuttonclicked = onTailButtonClicked;
Public Custom Event TailButtonClicked As TypedEventHandler(Of PenButtonListener, PenTailButtonClickedEventArgs) 

事件类型

适用于

另请参阅