Skip to main content

ColumnView.IsValidRowHandle(Int32) Method

Indicates whether the specified row handle is valid.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation


public virtual bool IsValidRowHandle(
    int rowHandle


Name Type Description
rowHandle Int32

An integer value specifying the row’s handle.


Type Description

true if the row’s handle is valid; otherwise, false.


The row handle is invalid if it doesn’t correspond to any row (data row, group row, new item or auto filter row) displayed within the View.


Detail pattern Views do not contain data and they are never displayed within XtraGrid. So, the IsValidRowHandle member must not be invoked for these Views. The IsValidRowHandle member can only be used with Views that display real data within the Grid Control. Use the following methods to access these Views with which an end user interacts at runtime.

See Also