Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ColumnView.RowDeleted Event

Fires after a data row is deleted.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

[DXCategory("Action")]
public event RowDeletedEventHandler RowDeleted

#Event Data

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

Property Description
ListSourceIndex Gets the index of the current row in the data source.
Row Gets the currently processed row.
RowHandle Gets 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