InputPointerWheelEventArgs Class
Provides event data for pointer wheel input events.
public class InputPointerWheelEventArgs : InputPointerEventArgs
- Inheritance:
- Object EventArgs InputPointerEventArgs Object
Constructors
InputPointerWheelEventArgs(MouseWheelEventArgs)
Initializes a new instance of the InputPointerWheelEventArgs class.
public InputPointerWheelEventArgs(MouseWheelEventArgs e)
Parameter | Type | Description |
---|---|---|
e | MouseWheelEventArgs | The wrapped event arguments. |
Properties
Delta
Gets the pointer wheel delta.
IsHorizontal
Gets whether the event is for a horizontal mouse wheel.
public bool IsHorizontal { get; }
Property Value
- Boolean:
true
if the event is for a horizontal mouse wheel; otherwise,false
for a vertical mouse wheel.
ScrollCharacters
Gets the number of character to scroll when the horizontal pointer wheel turns.
public int ScrollCharacters { get; }
Property Value
- Int32:
The number of character to scroll when the horizontal pointer wheel turns.
ScrollLines
Gets the number of lines to scroll when the vertical pointer wheel turns.
public int ScrollLines { get; }
Property Value
- Int32:
The number of lines to scroll when the vertical pointer wheel turns.
SingleUnitDelta
Gets the pointer wheel delta for a single unit.
public int SingleUnitDelta { get; }
Property Value
- Int32:
The pointer wheel delta for a single unit.
WrappedEventArgs
Gets the wrapped event arguments.
public MouseWheelEventArgs WrappedEventArgs { get; }
Property Value
- MouseWheelEventArgs:
The wrapped event arguments.
Methods
ToString()
Returns a String representation of this instance.
Inherited Members
- InputPointerEventArgs.GetPosition(UIElement)
- InputPointerEventArgs.IsPositionOver(FrameworkElement)
- InputPointerEventArgs.DeviceKind
- InputPointerEventArgs.Handled
- InputPointerEventArgs.ModifierKeys
- InputPointerEventArgs.OriginalSource
- EventArgs.Empty
- Object.Equals(Object)
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetHashCode()
- Object.GetType()
- Object.MemberwiseClone()