-
-
Notifications
You must be signed in to change notification settings - Fork 10
Crow.MouseButtonEventArgs
Jean-Philippe Bruyère edited this page Jan 30, 2018
·
2 revisions
Defines the event data for MouseDevice.ButtonDown and MouseDevice.ButtonUp events.
Do not cache instances of this type outside their event handler. If necessary, you can clone an instance using the MouseButtonEventArgs(MouseButtonEventArgs)
constructor.
namespace: Crow
-
EventArgs
-
MouseEventArgs
-
MouseButtonEventArgs
-
-
public class MouseButtonEventArgs : MouseEventArgs
⬜ | prototype | description |
---|---|---|
MouseButtonEventArgs () |
Constructs a new MouseButtonEventArgs instance. |
|
MouseButtonEventArgs (int x, int y, MouseButton button, bool pressed) |
Constructs a new MouseButtonEventArgs instance. |
|
MouseButtonEventArgs (MouseButton button) |
__ | |
MouseButtonEventArgs (MouseButtonEventArgs args) |
Constructs a new MouseButtonEventArgs instance. |
⬜ | name | description |
---|---|---|
Button |
Gets the MouseButton that triggered this event. |
|
IsPressed |
Gets a System.Boolean representing the state of the mouse button for the event. |
⬜ | prototype | description |
---|
⬜ | name | description |
---|