RowDeleted

RowDeleted( _
    ByVal tag As Object)

Event fired when the user deletes a row.

When the user selects one or more rows and presses the delete key, this event is fired for each object represented by a selected row. Cast the tag parameter to your own data type and remove it from your collection.


Example:

Remove the object from your collection.


Private Sub itemsGrid_RowDeleted(ByVal tag As Object)
_order.DeleteItem(DirectCast(tag, Item))
End Sub


Parameters:

ByVal tag As Object