Back to Devexpress

ASPxDataBatchUpdateEventArgs.DeleteValues Property

aspnet-devexpress-dot-web-dot-data-dot-aspxdatabatchupdateeventargs-94e011eb.md

latest2.6 KB
Original Source

ASPxDataBatchUpdateEventArgs.DeleteValues Property

Returns a list of deleted values.

Namespace : DevExpress.Web.Data

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public List<ASPxDataDeleteValues> DeleteValues { get; }
vb
Public ReadOnly Property DeleteValues As List(Of ASPxDataDeleteValues)

Property Value

TypeDescription
List<ASPxDataDeleteValues>

A List<T><ASPxDataDeleteValues,> object containing a list of deleted values.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DeleteValues property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

asp-net-web-forms-gridview-custom-buttons-in-batch-edit-mode/CS/T114462/Default.aspx.cs#L45

csharp
UpdateItem(args.Keys, args.NewValues);
foreach (var args in e.DeleteValues)
    DeleteItem(args.Keys, args.Values);

asp-net-web-forms-gridview-custom-buttons-in-batch-edit-mode/VB/T114462/Default.aspx.vb#L36

vb
For Each args In e.DeleteValues
    DeleteItem(args.Keys, args.Values)

See Also

ASPxDataBatchUpdateEventArgs Class

ASPxDataBatchUpdateEventArgs Members

DevExpress.Web.Data Namespace