Skip to content

Count Property

Description

Returns the number of GridRow objects in the GridControl's collection of rows.

Property Type

Read-only property.

Syntax (Visual Basic)

Public Property Count() As Long

Remarks

This tells you how many rows have been added to the GridControl. Invisible rows (child rows that have not yet been made visible because the parent row has not been expanded) are NOT included in the count.

Example

Retrieving the GridRow Count (Visual Basic)

This example illustrates how to determine the number of rows that are in the GridControl's collection of GridRow objects.

Dim rowCount as Long

rowCount = wndGridControl.Rows.Count

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.