Class MouseScrollEventArgs
Provides data for mouse scroll related events.
Inherited Members
Namespace: Evergine.Common.Input.Mouse
Assembly: Evergine.Common.dll
Syntax
public class MouseScrollEventArgs : MouseEventArgs
Constructors
MouseScrollEventArgs(MouseScrollDirections)
Initializes a new instance of the MouseScrollEventArgs class.
Declaration
public MouseScrollEventArgs(MouseScrollDirections direction)
Parameters
Type | Name | Description |
---|---|---|
MouseScrollDirections | direction | The direccion of the scroll movement. |
Properties
Delta
Gets the direccion of the scroll movement as a Point.
Declaration
public Point Delta { get; }
Property Value
Type | Description |
---|---|
Point |
Remarks
The value of X indicates the horizontal scroll increment. This value is positive if the mouse wheel is rotated to the right or negative if the mouse wheel is rotated to the left. The value of Y indicates the vertical scroll increment. This value is positive if the mouse wheel is rotated in an upward direction (away from the user) or negative if the mouse wheel is rotated in a downward direction (toward the user).
Direction
Gets the direccion of the scroll movement.
Declaration
public MouseScrollDirections Direction { get; }
Property Value
Type | Description |
---|---|
MouseScrollDirections |