GestureRecognizer.Holding 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.
// Register
event_token Holding(TypedEventHandler<GestureRecognizer, HoldingEventArgs const&> const& handler) const;
// Revoke with event_token
void Holding(event_token const* cookie) const;
// Revoke with event_revoker
GestureRecognizer::Holding_revoker Holding(auto_revoke_t, TypedEventHandler<GestureRecognizer, HoldingEventArgs const&> const& handler) const;
public event TypedEventHandler<GestureRecognizer,HoldingEventArgs> Holding;
function onHolding(eventArgs) { /* Your code */ }
gestureRecognizer.addEventListener("holding", onHolding);
gestureRecognizer.removeEventListener("holding", onHolding);
- or -
gestureRecognizer.onholding = onHolding;
Public Custom Event Holding As TypedEventHandler(Of GestureRecognizer, HoldingEventArgs)