|
|
|
SftTreeItem.LastSibling Property |
Returns the item's last sibling.
Syntax
VB.NET |
ItemIndex = object.LastSibling As Integer |
||
VB |
ItemIndex = object.LastSibling As Long |
||
C#.NET |
int ItemIndex = object.LastSibling; |
||
VC++ |
long ItemIndex = object->LastSibling;
|
||
C |
HRESULT object->get_LastSibling(long* ItemIndex); |
||
Delphi |
ItemIndex := object.LastSibling : Integer; |
object
A SftTreeItem object.
ItemIndex
Returns the item's last sibling. If the item doesn't have a sibling item, -1 is returned.
Comments
The LastSibling property returns the item's last sibling.
The last 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 new parent item.
The Item.FirstSibling property can be used to retrieve an item's first sibling. The Item.NextSibling and Item.PrevSibling properties can be used to retrieve an item's next or previous sibling.
See Also SftTreeItem Object | Object Hierarchy