Version

RowsDeleting Event (EditingCore)

Event that is fired every time a row is about to be deleted. Handle this event to do manual delete when EditingCore.AutoCRUD is set to false.
Syntax
'Declaration
 
Public Event RowsDeleting As RowDeletingHandler
public event RowDeletingHandler RowsDeleting
Event Data

The event handler receives an argument of type RowDeletingEventArgs containing data related to this event. The following RowDeletingEventArgs properties provide information specific to this event.

PropertyDescription
Cancel If set to true from inside an event handler the edit is not carried onto the data source and old values are returned to the grid.
Row Reference to the rows collection that is being deleted.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also