GridViewHitInfoBase.RowHandle Property
Gets the handle of a row that contains the test object.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.2.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
Property Value
Type | Description |
---|---|
Int32 | An integer value the specifies the row’s handle. |
Remarks
The RowHandle property can return the following values:
- A zero based integer value if the test object belongs to a data row (e.g. 0, 1, 2, 3).
- A negative integer value if the test object belongs to a group row (e.g. -1, -2, -3).
- DataControlBase.AutoFilterRowHandle if the test object belongs to the Automatic Filter Row.
- DataControlBase.NewItemRowHandle if the test object belongs to the New Item Row.
- DataControlBase.InvalidRowHandle if the test object doesn’t belong to any row.
To identify whether the test object belongs to a row, use the GridViewHitInfoBase.InRow property.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references 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.