Class MouseButtonUpEventArgs
This event is triggered when a mouse button is released.
Inherited Members
Namespace: OpenTK.Platform
Assembly: OpenTK.Platform.dll
Syntax
public class MouseButtonUpEventArgs : WindowEventArgs
Constructors
MouseButtonUpEventArgs(WindowHandle, MouseButton, KeyModifier)
Initializes a new instance of the MouseButtonUpEventArgs class.
Declaration
public MouseButtonUpEventArgs(WindowHandle window, MouseButton button, KeyModifier modifiers)
Parameters
Type | Name | Description |
---|---|---|
WindowHandle | window | The window that had input focus when the mouse is released. |
MouseButton | button | The button that was released. |
KeyModifier | modifiers | The modifiers that where active when the mouse button was released. |
Properties
Button
The mouse button that was released.
Declaration
public MouseButton Button { get; }
Property Value
Type | Description |
---|---|
MouseButton |
Modifiers
The active keyboard modifiers when the mouse button was released.
Declaration
public KeyModifier Modifiers { get; }
Property Value
Type | Description |
---|---|
KeyModifier |