Returns the item's next sibling.
Get
| C# | int ItemIndex = object.NextSibling; |
| VB.NET | ItemIndex = object.NextSibling As Integer |
| C++ | long ItemIndex = object->NextSibling; long ItemIndex = object->GetNextSibling(); |
| C | HRESULT object->get_NextSibling(long* ItemIndex); |
| VB | ItemIndex = object.NextSibling As Long |
object
A SftTreeItem object.
ItemIndex
Returns the item's next sibling. -1 is returned if the item doesn't have a next sibling.
The NextSibling property returns the item's next sibling.
The next sibling of the item is found by scanning towards the end of the tree control and locating an item on the same level (Item.Level property) as the item without encountering a parent item.
The Item.PrevSibling property can be used to retrieve an item's previous sibling. The Item.FirstSibling and Item.LastSibling properties can be used to retrieve an item's first or last sibling.
See Also SftTreeItem Object | Object Hierarchy