In This Article

InputTappedEventArgs Class

Provides event data for pointer-based tap events.

public class InputTappedEventArgs : EventArgs
Inheritance:
object EventArgs object

Constructors

InputTappedEventArgs(InputEventArgs)

Provides event data for pointer-based tap events.

public InputTappedEventArgs(InputEventArgs e)
Parameter Type Description
e InputEventArgs

The wrapped event arguments.

Properties

DeviceKind

An InputDeviceKind that indicates the device kind.

public InputDeviceKind DeviceKind { get; }

Property Value

InputDeviceKind

Handled

Indicates whether the event has been handled.

public bool Handled { get; set; }

Property Value

bool:

true if the event has been handled; otherwise, false.

OriginalSource

The original source of the event.

public object OriginalSource { get; }

Property Value

object

WrappedEventArgs

The wrapped event arguments.

public InputEventArgs WrappedEventArgs { get; }

Property Value

InputEventArgs

Methods

GetPosition(UIElement)

Returns the current pointer position relative to the specified element.

public Point GetPosition(UIElement relativeTo)
Parameter Type Description
relativeTo UIElement

The element to examine.

Returns

Point

ToString()

Returns the string representation of this object.

public override string ToString()

Returns

string:

The string representation of this object.

Inherited Members

Extension Methods