Back to Devexpress

ColumnView.RowDeleted Event

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-columnview-9bd7d8b3.md

latest2.4 KB
Original Source

ColumnView.RowDeleted Event

Fires after a data row is deleted.

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Action")]
public event RowDeletedEventHandler RowDeleted
vb
<DXCategory("Action")>
Public Event RowDeleted As RowDeletedEventHandler

Event Data

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

PropertyDescription
ListSourceIndexGets the index of the current row in the data source.
RowGets the currently processed row.
RowHandleGets the row handle (id) that identifies the position of the current row in the control.

Remarks

To delete a row in the ColumnView, you can use the ColumnView.DeleteRow and ColumnView.DeleteSelectedRows methods. The RowDeleted event fires after data row deletion and does not allow you to cancel the action.

See Also

RowDeleting

DeleteRow(Int32)

DeleteSelectedRows()

ColumnView Class

ColumnView Members

DevExpress.XtraGrid.Views.Base Namespace