readonly int ListBox.RowCount
Gets the number of rows that can be shown within the list box. This depends on the size of
the list box, and does not depend on how many items are actually stored in the list box.
This property is read-only. To change the row count, adjust the height of the list box.
Example:
Display("You can currently see %d items from the listbox's contents", lstSaveGames.RowCount);
will display the number of rows that the listbox can display.
See Also: ListBox.ItemCount, ListBox.ScrollDown,
ListBox.ScrollUp
|