|
|
|
SftBoxItem.TopParent Property |
Returns the item's top-most parent item.
Syntax
VB.NET |
TopParentIndex = object.TopParent As Integer |
||
VB |
TopParentIndex = object.TopParent As Long |
||
C#.NET |
int TopParentIndex = object.TopParent; |
||
VC++ |
long TopParentIndex = object->TopParent;
|
||
C |
HRESULT object->get_TopParent(long* TopParentIndex); |
||
Delphi |
TopParentIndex := object.TopParent : Integer; |
object
A SftBoxItem object.
TopParentIndex
Returns the zero-based index of the top-most parent item of the item described by object. If the item doesn't have a parent item, -1 is returned.
Comments
The TopParent property returns the item's top-most parent item.
The TopParent property returns the top-most parent item. To find an item's immediate parent item use the Item.Parent property instead.