wpf-devexpress-dot-xpf-dot-grid-dot-gridvalidaterowdeletioneventargs-2dfd2490.md
Gets rows that a user wants to delete.
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll
NuGet Package : DevExpress.Wpf.Grid.Core
public virtual object[] Rows { get; }
Public Overridable ReadOnly Property Rows As Object()
| Type | Description |
|---|---|
| Object[] |
An array of rows that a user wants to delete.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Rows 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.
wpf-data-grid-bind-to-infiniteasyncsource/CS/InfiniteAsyncSourceSample/MainWindow.xaml.cs#L124
private void DeleteRows(object sender, DevExpress.Xpf.Grid.GridValidateRowDeletionEventArgs e) {
foreach(var row in e.Rows) {
IssuesService.DeleteIssueAsync((IssueData)row).Wait();
See Also
GridValidateRowDeletionEventArgs Class