DataNavigatorDeleteRow Method
This can be used as an alternative to the Delete button to delete a row from the data source
Namespace: EWSoftware.ListControlsAssembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public bool DeleteRow(
int delRow
)
Public Function DeleteRow (
delRow As Integer
) As Boolean
public:
bool DeleteRow(
int delRow
)
member DeleteRow :
delRow : int -> bool
- delRow Int32
- The row to delete
BooleanTrue if the row was deleted, false if not deleted due to cancellation
This is equivalent to clicking the
Delete button but it allows you to put a button on
the parent form or to handle the delete operation in some other fashion. The
DeletingRow
event is fired prior to deleting the specified row. If the
DeletingRow event is not canceled,
the specified row is deleted and the
DeletedRow event is fired.