Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

LastSibling Property, SftTreeItem Object

Returns the item's last sibling.

Syntax

Get

VB.NETItemIndex = object.LastSibling As Integer
VBItemIndex = object.LastSibling As Long
C#.NETint ItemIndex = object.LastSibling;
VC++long ItemIndex = object->LastSibling;
long ItemIndex = object->GetLastSibling();
CHRESULT object->get_LastSibling(long* ItemIndex);

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


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.