Class MouseButtonEventArgs
Provides data for mouse button related events.
Inherited Members
Namespace: Evergine.Common.Input.Mouse
Assembly: Evergine.Common.dll
Syntax
public class MouseButtonEventArgs : MouseEventArgs
  Constructors
MouseButtonEventArgs(MouseButtons, bool)
Initializes a new instance of the MouseButtonEventArgs class.
Declaration
public MouseButtonEventArgs(MouseButtons button, bool isPressed)
  Parameters
| Type | Name | Description | 
|---|---|---|
| MouseButtons | button | The button associated with the event.  | 
      
| bool | isPressed | Indicates if the button was pressed or released.  | 
      
Properties
Button
Gets the button associated with the event.
Declaration
public MouseButtons Button { get; }
  Property Value
| Type | Description | 
|---|---|
| MouseButtons | 
IsPressed
Gets a value indicating whether the button was pressed or released.
Declaration
public bool IsPressed { get; }
  Property Value
| Type | Description | 
|---|---|
| bool |