Click or drag to resize

MouseEventArgs Constructor

Initializes a new instance of the MouseEventArgs class.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public MouseEventArgs(
	MouseButtons buttons,
	Keys modifiers,
	PointF location,
	Nullable<SizeF> delta = null,
	float pressure = 1f
)

Parameters

buttons
Type: Eto.FormsMouseButtons
Buttons involved in the event.
modifiers
Type: Eto.FormsKeys
Key modifiers such as Control, Alt, or Shift.
location
Type: Eto.DrawingPointF
Location of the mouse cursor for the event.
delta (Optional)
Type: SystemNullableSizeF
Delta of the scroll wheel.
pressure (Optional)
Type: SystemSingle
Pressure of a stylus or touch, if applicable. 1.0f for full pressure or not supported
See Also