Description
The wItemList
property returns a string holding all item captions of the list control as ComboBox, ListBox, etc. The captions are separated by characters specified by the wListSeparator
property.
Declaration
TestObj.wItemList
Read-Only Property | String |
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:
ComboBox (Flex Objects), Flex List, Java Swing ComboBox and 11 more objects, Java Swing List, jQuery Mobile Selectmultiplemenu, Web List Box, WebComboBox, Win32 ComboBox, Win32 ListBox, WPF ComboBox, WPF ListBox, WPF ListView, XUL Listbox, XUL Menulist « Collapse the list
View Mode
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
Property Value
A string holding all item captions.
Remarks
For WPF Controls: If a control uses data binding for its items, the wItemList
property may fail to get captions of the control’s items and will return empty strings instead. To get the item captions, you can use the control’s native properties.
Example
To view an example that demonstrates how to use the wItemList
property, see