HeaderPane
Main
Hide
Share Link
Print

SftBoxItem.TopParent Property

Returns the item's top-most parent item.

Syntax

Get

C#int TopParentIndex = object.TopParent;
VB.NETTopParentIndex = object.TopParent As Integer
C++long TopParentIndex = object->TopParent;
long TopParentIndex = object->GetTopParent();
CHRESULT object->get_TopParent(long* TopParentIndex);
VBTopParentIndex = object.TopParent As Long

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.

See Also SftBoxItem Object | Object Hierarchy


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.