Returns the collection item by its index.
Declaration
collectionObj.Items(Index)
Parameters
Read-Only Property | One of the objects listed in the Return Value section |
collectionObj | One of the objects listed in the Applies To | |||
Index | [in] | Required | Integer |
Applies To
This method applies to the following objects:
TcxEditButtons, TcxRadioGroupItems
Description
Use the Items
property to obtain an item by its index within the given collectionObj
collection. The total number of items in the collection is specified by the Count
property.
Parameters
The property has the following parameter:
Index
The index of the desired item within the collection. The index is zero-based: the first item has index 0, the second - 1, and so on. The index of the last item is
Count
- 1.Property Value
An object that provides scripting access to the specified item:
- The
TcxEditButtons.Items
property returns theTcxEditButton
object. - The
TcxRadioGroupItems.Items
property returns theTcxRadioGroupItem
object.