Defines the index of the first item displayed in the tree control's client area.
Get
| C# | int ItemIndex = object.TopIndex; |
| VB.NET | ItemIndex = object.TopIndex As Integer |
| C++ | long ItemIndex = object->TopIndex; long ItemIndex = object->GetTopIndex(); |
| C | HRESULT object->get_TopIndex(long* ItemIndex); |
| VB | ItemIndex = object.TopIndex As Long |
Put
| C# | int object.TopIndex = ItemIndex; |
| VB.NET | object.TopIndex = ItemIndex As Integer |
| C++ | long object->TopIndex = ItemIndex; void object->PutTopIndex(long ItemIndex); |
| C | HRESULT object->put_TopIndex(long ItemIndex); |
| VB | object.TopIndex = ItemIndex As Long |
object
A SftTreeItems object.
ItemIndex
Defines the index of the first item displayed in the tree control's client area.
The TopIndex property defines the index of the first item displayed in the tree control's client area.
The Item.MakeVisible method can be used to ensure that an item is displayed anywhere in the tree control area. The TopIndex property is used to make the item specified the very first item shown in the tree control area.
See Also SftTreeItems Object | Object Hierarchy