MouseButtonEventArgs
Summary
Provides data for mouse button press and release events.
Definition
Namespace: SDT4.Managed.Input.Desktop.Events
Assembly: SDT4.Managed.Input.dll
struct MouseButtonEventArgs
Implements:
IEquatable<MouseButtonEventArgs>
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; Button |
MouseButton | The specific mouse button that triggered the event. |
public get; set; Modifiers |
InputModifiers | Bitfield flags indicating the state of keyboard modifier keys when the mouse action occurred. |
Methods
public virtual String ToString()
Returns:
public virtual Int32 GetHashCode()
Returns:
public virtual Boolean Equals(Object obj)
Parameters:
obj(Object):
Returns:
public Boolean Equals(MouseButtonEventArgs other)
Parameters:
other(MouseButtonEventArgs):
Returns:
public Void Deconstruct(out Object? Sender, out MouseButton Button, out InputModifiers Modifiers)
Parameters:
-
Sender(Object?): -
Button(MouseButton): -
Modifiers(InputModifiers):