corelibraries-devexpress-dot-data-dot-customsummaryeventargs-76694380.md
Gets the handle of the processed row.
Namespace : DevExpress.Data
Assembly : DevExpress.Data.v25.2.dll
NuGet Package : DevExpress.Data
public int RowHandle { get; }
Public ReadOnly Property RowHandle As Integer
| Type | Description |
|---|---|
| Int32 |
An integer value identifying the processed data row by its handle.
|
This property’s return value can be passed to a method allowing you to obtain the processed row’s data. Thus, you are not limited to using the CustomSummaryEventArgs.FieldValue property only to accumulate the CustomSummaryEventArgs.TotalValue.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RowHandle 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.
winforms-grid-customize-footer-menu-calculate-custom-totals/CS/Form1.cs#L82
{
if (!Convert.ToBoolean(view.GetRowCellValue(e.RowHandle, "Discontinued"))) validRowCount++;
}
winforms-grid-customize-footer-menu-calculate-custom-totals/VB/Form1.vb#L70
If e.SummaryProcess = DevExpress.Data.CustomSummaryProcess.Calculate Then
If Not Convert.ToBoolean(view.GetRowCellValue(e.RowHandle, "Discontinued")) Then validRowCount += 1
End If
See Also