Skip to content

Count Property

Description

Returns the number of GridRecord objects in the collection of records.

Property Type

Read-only property

Syntax (Visual Basic)

Public Property Count() As Long

Remarks

The count only includes the number of records in the collection of records. If any records in the collection contain children, these records are not included in the count.

Example

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

Dim recordCount as Long

recordCount = wndGridControl.Records.Count

See Also


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