Dela via


PenButtonListener.TailButtonDoubleClicked Event

Definition

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

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

Event Type

Applies to

See also