In This Article

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.

public int Delta { get; }

Property Value

int:

The pointer wheel delta.

IsHorizontal

Gets whether the event is for a horizontal mouse wheel.

public bool IsHorizontal { get; }

Property Value

bool:

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

int:

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

int:

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

int:

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.

public override string ToString()

Returns

string:

A string representation of this instance.

Inherited Members