GridCellMouseEventArgs Constructor |
Initializes a new instance of the GridCellMouseEventArgs class.
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public GridCellMouseEventArgs(
GridColumn gridColumn,
int row,
int column,
Object item,
MouseButtons buttons,
Keys modifiers,
PointF location,
Nullable<SizeF> delta = null,
float pressure = 1f
)
Public Sub New (
gridColumn As GridColumn,
row As Integer,
column As Integer,
item As Object,
buttons As MouseButtons,
modifiers As Keys,
location As PointF,
Optional delta As Nullable(Of SizeF) = Nothing,
Optional pressure As Single = 1F
)
new :
gridColumn : GridColumn *
row : int *
column : int *
item : Object *
buttons : MouseButtons *
modifiers : Keys *
location : PointF *
?delta : Nullable<SizeF> *
?pressure : float32
(* Defaults:
let _delta = defaultArg delta null
let _pressure = defaultArg pressure 1f
*)
-> GridCellMouseEventArgs
Parameters
- gridColumn
- Type: Eto.FormsGridColumn
Grid column that triggered the event. - row
- Type: SystemInt32
The row that triggered the event, or -1 if no row. - column
- Type: SystemInt32
Column that triggered the event, or -1 if no column. - item
- Type: SystemObject
Item of the row that triggered the event, or null if no item. - buttons
- Type: Eto.FormsMouseButtons
Mouse buttons that are pressed during the event - modifiers
- Type: Eto.FormsKeys
Key modifiers currently pressed - location
- Type: Eto.DrawingPointF
Location of the mouse cursor in the grid - 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