Click or drag to resize

MouseButtonEventArgs Class

Event arguments for the IMouse events associated with a mouse button.
Inheritance Hierarchy

Namespace:  DotNetBrowser.Input.Mouse.Events
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.23.2
Syntax
C#
public class MouseButtonEventArgs : MouseEventArgs, 
	IMouseButtonEventArgs, IMouseEventArgs

The MouseButtonEventArgs type exposes the following members.

Constructors
  NameDescription
Public methodMouseButtonEventArgs
Initializes a new instance of the MouseButtonEventArgs class
Top
Properties
  NameDescription
Public propertyButton
Gets or sets the mouse button this event is related to.
Public propertyClickCount
Gets or sets the count of consecutive clicks that happened in a short amount of time.
Public propertyKeyModifiers
Gets or sets the keyboard modifiers.
Public propertyLocation
Gets or sets the mouse position relative to the bounds of the browser instance.
(Inherited from MouseEventArgs.)
Public propertyLocationOnScreen
Gets or sets the mouse position relative to the bounds of the screen.
(Inherited from MouseEventArgs.)
Public propertyMouseModifiers
Gets or sets the mouse modifiers indicating which mouse buttons are currently pressed.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Inherited from MouseEventArgs.)
Protected methodEquals(MouseEventArgs)
Determines whether the specified object is equal to the current object.
(Inherited from MouseEventArgs.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from MouseEventArgs.)
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
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also