MouseScrollEventArgs
Summary
Provides data for mouse wheel or touchpad scrolling events.
Definition
Namespace: SDT4.Managed.Input.Desktop.Events
Assembly: SDT4.Managed.Input.dll
struct MouseScrollEventArgs
Implements:
IEquatable<MouseScrollEventArgs>
Fields
| Name | Type | Description |
|---|---|---|
Properties
| Name | Type | Description |
|---|---|---|
public get; set; Sender |
Object? | The source object that dispatched the event (typically a |
public get; set; DeltaX |
Double | The horizontal scroll offset (e.g., tilting the scroll wheel or a two-finger horizontal swipe). |
public get; set; DeltaY |
Double | The vertical scroll offset (e.g., rotating the scroll wheel or a two-finger vertical swipe). |
Methods
public virtual String ToString()
Returns:
public virtual Int32 GetHashCode()
Returns:
public virtual Boolean Equals(Object obj)
Parameters:
obj(Object):
Returns:
public Boolean Equals(MouseScrollEventArgs other)
Parameters:
other(MouseScrollEventArgs):
Returns:
public Void Deconstruct(out Object? Sender, out Double DeltaX, out Double DeltaY)
Parameters: