OnPointerDown | onpointerdown event

AdControl.OnPointerDown | onpointerdown event

Raised when the user clicks, points, or touches the banner ad.

Syntax


public:
event EventHandler<PointerDownEventArgs>^ OnPointerDown {
   Windows::Foundation::EventRegistrationToken add(EventHandler<PointerDownEventArgs>^ value);
   void remove(Windows::Foundation::EventRegistrationToken token);
}

Event information

DelegateEventHandler [JavaScript] | System.EventHandler<PointerDownEventArgs> [.NET] | Windows.Foundation.EventHandler<PointerDownEventArgs> [C++]

Remarks

This event is raised when the user clicks, points, or touches 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 providing visual touch-down feedback itself. The handler function takes a single parameter that is the event object containing the coordinates where the event occurred.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1

Namespace

Microsoft.Advertising.WinRT.UI
Microsoft::Advertising::WinRT::UI [C++]

Metadata

Microsoft.Advertising.winmd

See also

AdControl
PointerDownEventArgs

 

 

Show:
© 2017 Microsoft