SftTree/NET 2.0 - Tree Control for Windows Forms


FirstSibling Property, ItemClass Class

Returns the item's first sibling item.

Class: ItemClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET


public ItemClass FirstSibling { get; }
Public ReadOnly Property FirstSibling As ItemClass


The item's first sibling item or null/Nothing if there is no sibling item.


Returns the item's first sibling item.

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 (ItemClass.Level property) as the current item without encountering a parent item.

The returned item may be same item as the current item, indicating that the item is the first dependent owned by the parent item (ItemClass.Parent property).

See Also ItemClass Class | Classes | SftTree/NET 2.0