Share via


AdControl.OnPointerUp Event

Definition

Raised when the user has stopped clicking, pointing, or touching a banner ad.

// Register
event_token OnPointerUp(EventHandler<RoutedEventArgs> const& handler) const;

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

// Revoke with event_revoker
AdControl::OnPointerUp_revoker OnPointerUp(auto_revoke_t, EventHandler<RoutedEventArgs> const& handler) const;
public event System.EventHandler<RoutedEventArgs> OnPointerUp;
function onOnPointerUp(eventArgs) { /* Your code */ }
adControl.addEventListener("onpointerup", onOnPointerUp);
adControl.removeEventListener("onpointerup", onOnPointerUp);
- or -
adControl.ononpointerup = onOnPointerUp;
Public Custom Event OnPointerUp As EventHandler(Of RoutedEventArgs) 

Event Type

Remarks

This event is raised when the user has stopped clicking, pointing, or touching inside of the AdControl. The app can use this event to animate the AdControl for visual touch-down feedback. The banner ad may suppress this event if it is itself providing visual touch-down feedback. The handler function takes no parameters.

Applies to