|
|
|
SftTreeItem.NextSibling Property |
Returns the item's next sibling.
Syntax
VB.NET |
ItemIndex = object.NextSibling As Integer |
||
VB |
ItemIndex = object.NextSibling As Long |
||
C#.NET |
int ItemIndex = object.NextSibling; |
||
VC++ |
long ItemIndex = object->NextSibling;
|
||
C |
HRESULT object->get_NextSibling(long* ItemIndex); |
||
Delphi |
ItemIndex := object.NextSibling : Integer; |
object
A SftTreeItem object.
ItemIndex
Returns the item's next sibling. -1 is returned if the item doesn't have a next sibling.
Comments
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