Returns the index of the last visible item in the tree 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
A SftTreeItems object.
ItemIndex
Returns the index of the last visible item in the tree control. -1 is returned, if no item is found.
The LastShown property returns the index of the last visible item in the tree control.
Use Items.FirstShown, Item.NextShown, Item.PrevShown to retrieve information about item visibility.
See Also SftTreeItems Object | Object Hierarchy