PenButtonListener.TailButtonClicked Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)