DispatcherQueueTimer.Tick 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.
Event that fires when the timer Interval elapses.
// Register
event_token Tick(TypedEventHandler<DispatcherQueueTimer, IInspectable const&> const& handler) const;
// Revoke with event_token
void Tick(event_token const* cookie) const;
// Revoke with event_revoker
DispatcherQueueTimer::Tick_revoker Tick(auto_revoke_t, TypedEventHandler<DispatcherQueueTimer, IInspectable const&> const& handler) const;
public event TypedEventHandler<DispatcherQueueTimer,object> Tick;
function onTick(eventArgs) { /* Your code */ }
dispatcherQueueTimer.addEventListener("tick", onTick);
dispatcherQueueTimer.removeEventListener("tick", onTick);
- or -
dispatcherQueueTimer.ontick = onTick;
Public Custom Event Tick As TypedEventHandler(Of DispatcherQueueTimer, Object)