HeaderPane
Main
Hide
Share Link
Print

SftBoxItem.DependentCount Property

Returns the item's number of dependents (child items).

Syntax

Get

C#int Count = object.get_DependentCount(bool Depth);
VB.NETCount = object.DependentCount(ByVal Depth As Boolean) As Integer
C++long Count = object->DependentCount[VARIANT_BOOL Depth];
long Count = object->GetDependentCount(VARIANT_BOOL Depth);
CHRESULT object->get_DependentCount(VARIANT_BOOL Depth, long* Count);
VBCount = object.DependentCount(ByVal Depth As Boolean) As Long

object

A SftBoxItem object.

Depth

Determines the depth.

BooleanDescription
TrueA count of all child items is returned, both immediate child items (on the next lower level) and indirect child items (child items of child items).
FalseA count of immediate child items is returned (on the next lower level). Indirect child items are not counted.

Count

Returns the item's number of dependents (child items).

Comments

The DependentCount property returns the item's number of dependents (child items).

The Item.FirstDependent property can be used to find the index of the first child item. Item.LastDependent returns the last child item.

Also see Item.FirstSibling, Item.NextSibling, Item.PrevSibling, Item.LastSibling.

See Also SftBoxItem Object | Object Hierarchy


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