Back to Devexpress

GridControl.IsRowVisible(Int32) Method

wpf-devexpress-dot-xpf-dot-grid-dot-gridcontrol-dot-isrowvisible-x28-system-dot-int32-x29.md

latest1.9 KB
Original Source

GridControl.IsRowVisible(Int32) Method

Indicates whether the specified row/card is visible.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

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

Parameters

NameTypeDescription
rowHandleInt32

An integer value that specifies the row’s handle.

|

Returns

TypeDescription
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

IsValidRowHandle(Int32)

GridControl Class

GridControl Members

DevExpress.Xpf.Grid Namespace