MouseButtonEventArgs Class

SFML.Net

MouseButtonEventArgs Class
Mouse buttons event parameters
Inheritance Hierarchy
SystemObject  SystemEventArgs
    SFML.WindowMouseButtonEventArgs

Namespace: SFML.Window
Assembly: sfmlnet-window-2 (in sfmlnet-window-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public class MouseButtonEventArgs : EventArgs
Public Class MouseButtonEventArgs
	Inherits EventArgs
public ref class MouseButtonEventArgs : public EventArgs
type MouseButtonEventArgs =  
    class
        inherit EventArgs
    end

The MouseButtonEventArgs type exposes the following members.

Constructors
  NameDescription
Public methodMouseButtonEventArgs
Construct the mouse button arguments from a mouse button event
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Provide a string describing the object
(Overrides ObjectToString.)
Top
Fields
  NameDescription
Public fieldButton
Code of the button (see MouseButton enum)
Public fieldX
X coordinate of the mouse cursor
Public fieldY
Y coordinate of the mouse cursor
Top
See Also