Returns the item's parent item.
Get
| C# | int ItemIndex = object.Parent; |
| VB.NET | ItemIndex = object.Parent As Integer |
| C++ | long ItemIndex = object->Parent; long ItemIndex = object->GetParent(); |
| C | HRESULT object->get_Parent(long* ItemIndex); |
| VB | ItemIndex = object.Parent As Long |
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.
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.
See Also SftBoxItem Object | Object Hierarchy