InputPointerWheelEventArgs Class
Provides event data for pointer wheel input events.
public class InputPointerWheelEventArgs : InputPointerEventArgs
- Inheritance:
- System.Object System.EventArgs InputPointerEventArgs Object
Constructors
InputPointerWheelEventArgs(MouseWheelEventArgs)
Initializes a new instance of the InputPointerWheelEventArgs class.
public InputPointerWheelEventArgs(MouseWheelEventArgs e)
Parameter | Type | Description |
---|---|---|
e | System.Windows.Input.MouseWheelEventArgs | The wrapped event arguments. |
Properties
Delta
Gets the pointer wheel delta.
public int Delta { get; }
Property Value
- System.Int32:
The pointer wheel delta.
IsHorizontal
Gets whether the event is for a horizontal mouse wheel.
public bool IsHorizontal { get; }
Property Value
- System.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
- System.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
- System.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
- System.Int32:
The pointer wheel delta for a single unit.
WrappedEventArgs
Gets the wrapped event arguments.
public MouseWheelEventArgs WrappedEventArgs { get; }
Property Value
- System.Windows.Input.MouseWheelEventArgs:
The wrapped event arguments.
Methods
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
- InputPointerEventArgs.GetPosition(UIElement)
- InputPointerEventArgs.IsPositionOver(FrameworkElement)
- InputPointerEventArgs.DeviceKind
- InputPointerEventArgs.Handled
- InputPointerEventArgs.ModifierKeys
- InputPointerEventArgs.OriginalSource
- 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()