Udostępnij za pośrednictwem


PenDockListener.Docked Event

Definition

Occurs when the user docks a pen.

// Register
event_token Docked(TypedEventHandler<PenDockListener, PenDockedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
PenDockListener::Docked_revoker Docked(auto_revoke_t, TypedEventHandler<PenDockListener, PenDockedEventArgs const&> const& handler) const;
public event TypedEventHandler<PenDockListener,PenDockedEventArgs> Docked;
function onDocked(eventArgs) { /* Your code */ }
penDockListener.addEventListener("docked", onDocked);
penDockListener.removeEventListener("docked", onDocked);
- or -
penDockListener.ondocked = onDocked;
Public Custom Event Docked As TypedEventHandler(Of PenDockListener, PenDockedEventArgs) 

Event Type

Applies to

See also