GridViewHitInfoBase.RowHandle Property
In This Article
Gets the handle of a row that contains the test object.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v14.2.dll
#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 Auto 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.
To learn more, see Identifying Rows and Obtaining Row Handles.
#Implements
DevExpress.Xpf.Grid.IDataViewHitInfo.RowHandle
See Also