Back to Devexpress

DataGridView.TapConfirmed Event

maui-devexpress-dot-maui-dot-datagrid-dot-datagridview-e5050a23.md

latest2.7 KB
Original Source

DataGridView.TapConfirmed Event

Occurs when a single tap is confirmed (a user tapped the grid and a second tap leading to the double-tap gesture did not follow).

Namespace : DevExpress.Maui.DataGrid

Assembly : DevExpress.Maui.DataGrid.dll

NuGet Package : DevExpress.Maui.DataGrid

Declaration

csharp
public event EventHandler<DataGridGestureEventArgs> TapConfirmed

Event Data

The TapConfirmed event's data class is DataGridGestureEventArgs. The following properties provide information specific to this event:

PropertyDescription
ElementGets the value that specifies the grid element with which a user interacts.
FieldNameGets the field name of the column.
ItemGets an object that specifies a data source’s item to which the grid’s data row corresponds.
RowHandleReturns the handle of the row with which the user interacts.

Remarks

The DataGridView raises the following events in response to user gestures:

|

Gesture

|

Event

| | --- | --- | |

Tap

|

Tap and TapConfirmed

| |

Double Tap

|

Tap and DoubleTap

| |

LongPress

|

LongPress

|

The event parameter’s Element property allows you to obtain the element that was tapped.

If a user interacts with 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. If a user taps a data row that is not selected, the DataGridView.SelectionChanged event is also raised.

See Also

DataGridView Class

DataGridView Members

DevExpress.Maui.DataGrid Namespace