Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxItem.DependentCount Property

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

Syntax

Get

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

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 08/13/2020 - (email)
© 2024 Softel vdm, Inc.