Show / Hide Table of Contents

Class MouseButtonDownEventArgs

This event is triggered when a mouse button is pressed.

Inheritance
object
EventArgs
WindowEventArgs
MouseButtonDownEventArgs
Inherited Members
WindowEventArgs.Window
EventArgs.Empty
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OpenTK.Platform
Assembly: OpenTK.Platform.dll
Syntax
public class MouseButtonDownEventArgs : WindowEventArgs

Constructors

MouseButtonDownEventArgs(WindowHandle, MouseButton, KeyModifier)

Initializes a new instance of the MouseButtonDownEventArgs class.

Declaration
public MouseButtonDownEventArgs(WindowHandle window, MouseButton button, KeyModifier modifiers)
Parameters
Type Name Description
WindowHandle window

The window that was clicked on.

MouseButton button

The mouse button that was pressed.

KeyModifier modifiers

The modifiers that where active when the mouse button was pressed.

Properties

Button

The mouse button that was pressed.

Declaration
public MouseButton Button { get; }
Property Value
Type Description
MouseButton

Modifiers

The active keyboard modifiers when the mouse button was pressed.

Declaration
public KeyModifier Modifiers { get; }
Property Value
Type Description
KeyModifier
In this article
Back to top Generated by DocFX