Interface ISS_TreeNode
Tree node interface – Represents a node in a hierarchical tree structure
Namespace: STTreeTypes
Assembly: STTreeTypes.dll
Syntax
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("516B1427-8276-48B6-BDB5-EAFEA1328775")]
public interface ISS_TreeNodeProperties
ChildCountWOChildren
Count of descendant nodes excluding immediate children
Declaration
int ChildCountWOChildren { get; }Property Value
| Type | Description | 
|---|---|
| int | 
ChildNode
First child node
Declaration
ISS_TreeNode ChildNode { get; }Property Value
| Type | Description | 
|---|---|
| ISS_TreeNode | 
DeepChildCount
Count of all descendant nodes (recursive)
Declaration
int DeepChildCount { get; }Property Value
| Type | Description | 
|---|---|
| int | 
DirectChildCount
Count of immediate child nodes
Declaration
int DirectChildCount { get; }Property Value
| Type | Description | 
|---|---|
| int | 
FolderCount
Count of folder-type child nodes
Declaration
int FolderCount { get; }Property Value
| Type | Description | 
|---|---|
| int | 
LastChild
Last child node in hierarchy
Declaration
ISS_TreeNode LastChild { get; }Property Value
| Type | Description | 
|---|---|
| ISS_TreeNode | 
LastSibling
Last sibling node in current level
Declaration
ISS_TreeNode LastSibling { get; }Property Value
| Type | Description | 
|---|---|
| ISS_TreeNode | 
Level
Depth level in tree (0 for root)
Declaration
int Level { get; }Property Value
| Type | Description | 
|---|---|
| int | 
ParentNode
Parent node reference
Declaration
ISS_TreeNode ParentNode { get; }Property Value
| Type | Description | 
|---|---|
| ISS_TreeNode | 
PrevSibling
Previous sibling node
Declaration
ISS_TreeNode PrevSibling { get; }Property Value
| Type | Description | 
|---|---|
| ISS_TreeNode | 
SiblingNode
Next sibling node
Declaration
ISS_TreeNode SiblingNode { get; }Property Value
| Type | Description | 
|---|---|
| ISS_TreeNode | 
Methods
IndexOfChild(ISS_TreeNode)
Get child node index
Declaration
int IndexOfChild(ISS_TreeNode Child)Parameters
| Type | Name | Description | 
|---|---|---|
| ISS_TreeNode | Child | Node to find | 
Returns
| Type | Description | 
|---|---|
| int | Index of child node or -1 if not found | 
TopParent()
Get topmost parent node
Declaration
ISS_TreeNode TopParent()Returns
| Type | Description | 
|---|---|
| ISS_TreeNode | Root node of the tree |