DataGridView.LongPress Event

Occurs when a user taps and holds anywhere within the grid.

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

Declaration

public event DataGridGestureEventHandler LongPress

Event Data

The LongPress event handler receives an argument of the DataGridGestureEventArgs type. The following properties provide information specific to this event.

Property Description
Element
FieldName
Item
RowHandle Gets the grid's row handle.
(Inherited from RowEventArgs)

Remarks

The event parameter's Element property allows you to obtain the element with which a user interacts. If it is a data row, the Item property returns the data source's item object that corresponds to the row. To obtain the tapped row handle, use the RowHandle property.

See Also