InputTappedEventArgs Class
Provides event data for pointer-based tap events.
public class InputTappedEventArgs : EventArgs
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.
Handled
Indicates whether the event has been handled.
public bool Handled { get; set; }
Property Value
- bool:
trueif the event has been handled; otherwise,false.
OriginalSource
The original source of the event.
WrappedEventArgs
The wrapped event arguments.
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.
Inherited Members
- EventArgs.Empty
- object.GetType()
- object.MemberwiseClone()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()