Skip to main content

ColumnView.IsValidRowHandle(Int32) Method

Indicates whether the specified row handle is valid.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v23.2.dll

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

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 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