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 WindowInput instance or ).
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:

Returns:


public Boolean Equals(MouseButtonEventArgs other)

Parameters:

Returns:


public Void Deconstruct(out Object? Sender, out MouseButton Button, out InputModifiers Modifiers)

Parameters: