Skip to main content
A newer version of this page is available. .

ColumnView.IsValidRowHandle(Int32) Method

Indicates whether the specified row handle is valid.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v19.1.dll

Declaration

public virtual bool IsValidRowHandle(
    int rowHandle
)

Parameters

Name Type Description
rowHandle Int32

An integer value specifying the row’s handle.

Returns

Type Description
Boolean

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

Remarks

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.

Note

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