|
|
|
SftTreeItem.FirstSibling Property |
Returns the item's first sibling.
Syntax
VB.NET |
ItemIndex = object.FirstSibling As Integer |
||
VB |
ItemIndex = object.FirstSibling As Long |
||
C#.NET |
int ItemIndex = object.FirstSibling; |
||
VC++ |
long ItemIndex = object->FirstSibling;
|
||
C |
HRESULT object->get_FirstSibling(long* ItemIndex); |
||
Delphi |
ItemIndex := object.FirstSibling : Integer; |
object
A SftTreeItem object.
ItemIndex
Returns the item's first sibling. If the item doesn't have a sibling item, -1 is returned.
Comments
The FirstSibling property returns the item's first sibling.
The first sibling of the item is found by scanning towards the beginning 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.LastSibling property can be used to retrieve an item's last 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