Skip to main content

GridControl.IsRowVisible(Int32) Method

Indicates whether the specified row/card is visible.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v23.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public bool IsRowVisible(
    int rowHandle
)

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