Visual Basic: DataCombo/DataList Controls
VisibleCount Property
Returns a value indicating the number of visible items in the list portion of the DataCombo or DataList control.
Syntax
object**.VisibleCount**
The object placeholder represents an object expression that evaluates to an object in the Applies To list.
Remarks
The VisibleCount property returns an integer from 0 to the number of items visible in the control. An item is considered visible even if only a portion of the text is visible, as when the IntegralHeight property setting is False.
****NoteVisibleCount may be set to 0 before the first time the list portion of the DataCombo control is displayed.
Data Type
Integer