Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinDataSource
Private Sub UltraDataSource1_RowDeleting(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinDataSource.RowDeletingEventArgs) Handles ultraDataSource1.RowDeleting
' RowDeleting is fired when the user attempts to delete a row through a bound
' control (like UltraGrid for example). Here you typically delete the row from
' the external data source if there is one.
Debug.WriteLine("Row is being deleted at index " & e.Row.Index _
& " in the row collection associated with band " & e.Row.Band.Key & ".")
End Sub
Private Sub UltraDataSource1_RowDeleted(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinDataSource.RowDeletedEventArgs) Handles ultraDataSource1.RowDeleted
' Fired after RowDeleting is fired.
' Row property returns the row that was deleted. Since the row is not in
' the row collection anymore, it's Index will return -1.
Debug.WriteLine("Row is deleted. It's Index is now " & e.Row.Index & ".")
End Sub