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