Description
Use the wItemCount
property to get the total number of items in the specified control.
Declaration
TestObj.wItemCount
Read-Only Property | Integer |
TestObj | A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section |
Applies To
The property is applied to the following objects:
AngularUI Bootstrap Dropdown, AngularUI Select, Bootstrap Dropdown and 23 more objects, Developer Express ASPxComboBox, Developer Express ColorComboBox, Developer Express ComboBox, Developer Express ComboBox (VCL), Developer Express ImageComboBox, Ext JS Combo Box, Infragistics UltraComboBox, Java Swing ComboBox, JavaFX ChoiceBox, JavaFX ComboBox, Oracle Forms Combo Box, Oracle Forms Pop List, Qt ComboBox, Silverlight ComboBox, Syncfusion ComboBox Controls, Telerik RadComboBox for ASP.NET AJAX, Telerik RadComboBox for WinForms, Telerik RadComboBox for WPF, Telerik RadDropDownList for WinForms, Telerik RadMultiColumnComboBox for WinForms, WebComboBox, Win32 ComboBox, WPF ComboBox « Collapse the list
View Mode
This property is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.
Property Value
The total number of items in the control.
Example
To view an example that demonstrates how to use the wItemCount
property, see Determining the Number of Combo Box Items.