GridControl.IsRowVisible(Int32) Method

Indicates whether the specified row/card is visible.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.1.dll

Declaration

public bool IsRowVisible(
    int rowHandle
)
Public Function IsRowVisible(
    rowHandle As Integer
) As Boolean

Parameters

Name Type Description
rowHandle Int32

An integer value that specifies the row's handle.

Returns

Type Description
Boolean

true if the specified row/card is visible; otherwise, false.

Remarks

The IsRowVisible method returns false in the following cases:

  • The specified row or card is invalid.
  • The specified row or card is hidden within a collapsed group row.

To obtain the total number of visible rows, use the DataControlBase.VisibleRowCount property. To learn more, see Identifying Rows and Cards and Traversing Rows.

See Also