<div class="meta" robots="noindex">

</div>

# ListBox.ListCount

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2019r2. Please use `DesktopListBox.RowCount<desktoplistbox.rowcount>` as a replacement.

</div>

## Description

The number of items in the list. For multiple-column ListBoxes, the number of rows. <span class="title-ref">ListCount</span> is 1-based.

## Compatibility

All projects types on all supported operating systems.
