Returns the index of the last visible item in the combo box control.
Get
| C# | int ItemIndex = object.LastShown; |
| VB.NET | ItemIndex = object.LastShown As Integer |
| C++ | long ItemIndex = object->LastShown; long ItemIndex = object->GetLastShown(); |
| C | HRESULT object->get_LastShown(long* ItemIndex); |
| VB | ItemIndex = object.LastShown As Long |
object
ItemIndex
Returns the index of the last visible item in the combo box control. -1 is returned, if no item is found.
The LastShown property returns the index of the last visible item in the combo box control.
Use Items.FirstShown, Item.NextShown, Item.PrevShown to retrieve information about item visibility.
See Also SftBoxItems Object | Object Hierarchy