SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Returns the item's number of dependents (child items).
Get
VB.NET | Count = object.DependentCount(ByVal Depth As Boolean) As Integer |
VB | Count = object.DependentCount(ByVal Depth As Boolean) As Long |
C#.NET | int Count = object.get_DependentCount(bool Depth); |
VC++ | long Count = object->DependentCount[VARIANT_BOOL Depth]; long Count = object->GetDependentCount(VARIANT_BOOL Depth); |
C | HRESULT object->get_DependentCount(VARIANT_BOOL Depth, long* Count); |
object
Depth
Determines the depth.
Boolean | Description |
---|---|
True | A 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). |
False | A 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).
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