Defines the index of the first item displayed in the tree control's client area.
Deprecated - Provided for compatibility with earlier versions only - Use Items.TopIndex instead
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
ItemIndex
Defines the index of the first item displayed in the tree control's client area.
Deprecated - Provided for compatibility with earlier versions only - Use Items.TopIndex instead
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 SftTree Object | Object Hierarchy