GridView.IsValidRowHandle(Int32) Method
Indicates whether the specified row handle is valid.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v22.2.dll
NuGet Package: DevExpress.Win.Grid
Declaration
Parameters
Name | Type | Description |
---|---|---|
rowHandle | Int32 | An integer value specifying the row’s handle. |
Returns
Type | Description |
---|---|
Boolean | true if the specified row handle is valid; otherwise, false. |
Remarks
This method returns false in the cases listed below:
- the row handle corresponds to a hidden auto filter row (the View’s GridOptionsView.ShowAutoFilterRow property is set to false);
- the row handle corresponds to a hidden new item row (the View’s GridOptionsView.NewItemRowPosition property is set to the NewItemRowPosition.None value);
- there isn’t any row with the specified handle.
For more information on row handles refer to the Rows topic.
See Also