Skip to main content

VGridControlBase.DeleteRecord(Int32) Method

Deletes a record from the vertical grid.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

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


public virtual void DeleteRecord(
    int recordIndex


Name Type Description
recordIndex Int32

An integer value that specifies the index of the record to be deleted.


Use the DeleteRecord method to delete records from the vertical grid. The DeleteRecord method is only in effect if the vertical grid functions in bound mode.



The DeleteRecord method is only in effect for data sources that support record deletion. This method not only removes a row(s) from a grid but also deletes the object which represents this row in the data source. For instance, if the data source is a DataView object, the rows are represented as DataRow objects and the DeleteRecord method invokes its Delete method.

See Also