SftTree/NET 2.0

FirstSibling Property, ItemClass Class

Softel vdm, Inc.

Returns the item's first sibling item.

Syntax      ItemClass Class (Softelvdm.SftTreeNET)

VB   

Public ReadOnly Property FirstSibling As ItemClass

C#   

public ItemClass FirstSibling { get; }

C++   

public: property ItemClass^ FirstSibling {
        ItemClass^ get();
}

Property Value

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

Comments

The FirstSibling property 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 same item as the current item, indicating that the item is the first dependent owned by the parent item (Parent property).


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com