PenDockListener.Docked 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 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)