Search Results for

    Show / Hide Table of Contents

    Class MouseScrollEventArgs

    Provides data for mouse scroll-related events.

    Inheritance
    object
    EventArgs
    MouseEventArgs
    MouseScrollEventArgs
    Inherited Members
    MouseEventArgs.Position
    MouseEventArgs.State
    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 direction of the scroll movement.

    Properties

    Delta

    Gets the direction 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 direction of the scroll movement.

    Declaration
    public MouseScrollDirections Direction { get; }
    Property Value
    Type Description
    MouseScrollDirections

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX