InputDoubleTappedEventArgs Class
Provides event data for pointer-based double-tap events.
public class InputDoubleTappedEventArgs : EventArgs
- Inheritance:
- System.Object System.EventArgs Object
Constructors
InputDoubleTappedEventArgs(InputEventArgs)
Initializes a new instance of the InputDoubleTappedEventArgs class.
public InputDoubleTappedEventArgs(InputEventArgs e)
Parameter | Type | Description |
---|---|---|
e | System.Windows.Input.InputEventArgs | The wrapped event arguments. |
Properties
DeviceKind
Gets an InputDeviceKind that indicates the device kind.
public InputDeviceKind DeviceKind { get; }
Property Value
- InputDeviceKind:
An InputDeviceKind that indicates the device kind.
Handled
Gets or set whether the event has been handled.
public bool Handled { get; set; }
Property Value
- System.Boolean:
true
if the event has been handled; otherwise,false
.
OriginalSource
Gets the original source of the event.
public object OriginalSource { get; }
Property Value
- System.Object:
The original source of the event.
WrappedEventArgs
Gets the wrapped event arguments.
public InputEventArgs WrappedEventArgs { get; }
Property Value
- System.Windows.Input.InputEventArgs:
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 | System.Windows.UIElement | The element to examine. |
Returns
- System.Windows.Point:
The current pointer position relative to the specified element.
IsPositionOver(FrameworkElement)
Returns whether the current pointer position is over the specified element.
public bool IsPositionOver(FrameworkElement element)
Parameter | Type | Description |
---|---|---|
element | System.Windows.FrameworkElement | The element to examine. |
Returns
- System.Boolean:
true
if the current pointer position is over the specified element; otherwise,false
.
ToString()
Returns a System.String representation of this instance.
public override string ToString()
Returns
- System.String:
A System.String representation of this instance.
Inherited Members
- System.EventArgs.Empty
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object, System.Object)
- System.Object.ReferenceEquals(System.Object, System.Object)
- System.Object.GetHashCode()
- System.Object.GetType()
- System.Object.MemberwiseClone()