# GraffitiTreeViewNode
Class
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Sub | AddColumn | (None) | Adds a new column. |
| Function | Column | As | Returns the column text at the specified index. |
| Function | ColumnCount | As | Returns the count of columns. |
| Sub | Constructor | (None) | Constructs the instance from the passed JSONItem |
| Sub | Constructor | (None) | Creates a new instance of the class. |
| Sub | InsertColumn | (None) | Inserts a new column. |
| Sub | RemoveAllColumns | (None) | Removes all columns. |
| Sub | RemoveColumn | (None) | Removes the column at the specified index. |
| Function | ToJSON | As | Returns a JSONItem representation of the object. |
| Attributes | Hidden | updateObserver | |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Attributes | posCheck | Xojo.Rect | |
| Attributes | Depth | Integer | |
| Attributes | EditorBounds | Xojo.Rect | |
| Attributes | image | Picture | |
| Attributes | XOffset | Integer | |
| Attributes | VisibleIndex | Integer | |
| Attributes | posRemove | Xojo.Rect | |
| Attributes | mObserver | GraffitiUpdateInterface | |
| Attributes | posExpand | Xojo.Rect | |
| Attributes | posDrag | Xojo.Rect | |
| Attributes | Bounds | Xojo.Rect | |
| CanCheck | Boolean | Nil | If the node displays a checkbox. |
| CanEdit | Boolean | Nil | If the node can be edited by the user. |
| CanExpand | Boolean | Nil | Controls whether the node can be expanded. |
| CanRemove | Boolean | Nil | If the node can be removed by the user. |
| CanReorder | Boolean | Nil | If the user can drag the node to change its position. |
| Checked | Boolean | Nil | If the node's checkbox is currently checked. |
| Enabled | Boolean | Nil | If the node currently shows as enabled. |
| Expanded | Boolean | Nil | If the node is currently expanded to show children. |
| HelpTag | String | Nil | Item tooltip. |
| Icon | Picture | Nil | Icon to display in this node's row. 16×16 or 32×32. |
| Nodes() | GraffitiTreeViewNode | Nil | Child nodes of this node. |
| NotificationCount | Integer | Nil | Number to display in the notification bubble. |
| Parent | GraffitiTreeViewNode | Nil | The parent node of this node. |
| Private | As | Nil | |
| Private | As | = | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | = | |
| Private | As | = | |
| Private | As | = | |
| Private | As | = | |
| Private | As | = | |
| Private | As | = | |
| Private | As | = | |
| Private | As | Nil | |
| Private | As | = | |
| Private | | String | |
| Selected | Boolean | Nil | If the node is currently selected by the user. |
| Tag | Variant | Nil | A value which the developer may use to store any data. |
| Text | String | Nil | The text of this first column of the node. |