Class MouseActionEvent
Contains the details of a Curses event.
Inherited Members
Namespace: Sharpie
Assembly: sharpie.dll
Syntax
[PublicAPI]
public sealed class MouseActionEvent : Event
Properties
Button
The button that was actioned.
Declaration
public MouseButton Button { get; }
Property Value
Type | Description |
---|---|
MouseButton |
Modifiers
Modifier keys that were present at the time of the action.
Declaration
public ModifierKey Modifiers { get; }
Property Value
Type | Description |
---|---|
ModifierKey |
Position
The mouse position at the time of the action.
Declaration
public Point Position { get; }
Property Value
Type | Description |
---|---|
Point |
State
The state of the action.
Declaration
public MouseButtonState State { get; }
Property Value
Type | Description |
---|---|
MouseButtonState |
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object? obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool | true if the specified object is equal to the current object; otherwise, false. |
Overrides
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents the current object. |