ColumnView.IsValidRowHandle(Int32) Method

Indicates whether the specified row handle is valid.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v21.1.dll


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 real Views that are displayed within the Grid Control. The real Views with which an end-user interacts at runtime can be accessed using the following methods.

See Also