# NxTreeNode Class

Namespace: [Qlik.Engine](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.htm)  
Assembly: Qlik.Engine.dll

Represents a dimension in the tree.

## Inheritance

* System.Object
  * NxTreeNode

## Syntax

```
[ValueClass]
public class NxTreeNode : INxTreeNode
```

## Constructors

| Name | Description |
| --- | --- |
| [NxTreeNode()](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxTreeNode.-ctor.htm#Qlik_Engine_NxTreeNode__ctor) |  |

## Properties

| Name | Description |
| --- | --- |
| [AttrDims](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxTreeNode.AttrDims.htm#Qlik_Engine_NxTreeNode_AttrDims) | Attribute dimension values.<br><br>JSON property name: qAttrDims |
| [AttrExps](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxTreeNode.AttrExps.htm#Qlik_Engine_NxTreeNode_AttrExps) | Attribute expression values.<br><br>JSON property name: qAttrExps |
| [CanCollapse](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxTreeNode.CanCollapse.htm#Qlik_Engine_NxTreeNode_CanCollapse) | If set to true, it means that the cell can be collapsed.<br><br>This parameter is not returned if it is set to false.<br><br>JSON property name: qCanCollapse |
| [CanExpand](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxTreeNode.CanExpand.htm#Qlik_Engine_NxTreeNode_CanExpand) | If set to true, it means that the cell can be expanded.<br><br>This parameter is not returned if it is set to false.<br><br>JSON property name: qCanExpand |
| [ElemNo](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxTreeNode.ElemNo.htm#Qlik_Engine_NxTreeNode_ElemNo) | Element number.<br><br>JSON property name: qElemNo |
| [GroupPos](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxTreeNode.GroupPos.htm#Qlik_Engine_NxTreeNode_GroupPos) | The position of this node inside it's group in the complete tree, i.e. Not dependant om what part is fetched.<br><br>JSON property name: qGroupPos |
| [GroupSize](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxTreeNode.GroupSize.htm#Qlik_Engine_NxTreeNode_GroupSize) | Nbr of nodes connected to this node on the next level of the tree. Not dependant on what part is fetched.<br><br>JSON property name: qGroupSize |
| [MaxPos](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxTreeNode.MaxPos.htm#Qlik_Engine_NxTreeNode_MaxPos) | Total of the positive values in the current group of cells.<br><br>JSON property name: qMaxPos |
| [MinNeg](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxTreeNode.MinNeg.htm#Qlik_Engine_NxTreeNode_MinNeg) | Total of the negative values in the current group of cells.<br><br>JSON property name: qMinNeg |
| [Nodes](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxTreeNode.Nodes.htm#Qlik_Engine_NxTreeNode_Nodes) | The children of this node in the fetched tree structure.<br><br>JSON property name: qNodes |
| [Row](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxTreeNode.Row.htm#Qlik_Engine_NxTreeNode_Row) | Row index in the data matrix.<br><br>The indexing starts from 0.<br><br>JSON property name: qRow |
| [State](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxTreeNode.State.htm#Qlik_Engine_NxTreeNode_State) | Selection State of the value.<br><br>The default state for a measure is L(Locked).<br><br>JSON property name: qState |
| [Text](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxTreeNode.Text.htm#Qlik_Engine_NxTreeNode_Text) | The text version of the value, if available.<br><br>JSON property name: qText |
| [TreePath](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxTreeNode.TreePath.htm#Qlik_Engine_NxTreeNode_TreePath) | The GroupPos of all prior nodes connected to this one, one position for each level of the tree.<br><br>If this node is attached directly to the root, this array is empty.<br><br>JSON property name: qTreePath |
| [Type](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxTreeNode.Type.htm#Qlik_Engine_NxTreeNode_Type) | Type of the cell.<br><br>JSON property name: qType |
| [Value](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxTreeNode.Value.htm#Qlik_Engine_NxTreeNode_Value) | Value of the cell.<br><br>Is set to `NaN` , if the value is not a number.<br><br>JSON property name: qValue |
| [Values](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxTreeNode.Values.htm#Qlik_Engine_NxTreeNode_Values) | The measures for this node.<br><br>JSON property name: qValues |