Jaa


PenButtonListener.TailButtonClicked Event

Definition

Occurs when the user presses and releases (clicks) the button on the tail end of the pen.

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

Event Type

Applies to

See also