ExpGestureRecognizer.CrossSliding 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 CrossSliding(TypedEventHandler<ExpGestureRecognizer, ExpCrossSlidingEventArgs const&> const& handler) const;
// Revoke with event_token
void CrossSliding(event_token const* cookie) const;
// Revoke with event_revoker
ExpGestureRecognizer::CrossSliding_revoker CrossSliding(auto_revoke_t, TypedEventHandler<ExpGestureRecognizer, ExpCrossSlidingEventArgs const&> const& handler) const;
public event TypedEventHandler<ExpGestureRecognizer,ExpCrossSlidingEventArgs> CrossSliding;
function onCrossSliding(eventArgs) { /* Your code */ }
expGestureRecognizer.addEventListener("crosssliding", onCrossSliding);
expGestureRecognizer.removeEventListener("crosssliding", onCrossSliding);
- or -
expGestureRecognizer.oncrosssliding = onCrossSliding;
Public Custom Event CrossSliding As TypedEventHandler(Of ExpGestureRecognizer, ExpCrossSlidingEventArgs)