Object
TreeViewNode
TreeViewNode | A constructor that takes a text. |
TreeViewNode | A constructor that takes a text and a image. |
TreeViewNode | A constructor that takes a text, image and true or false depending on if the node should have expander or not. |
TreeViewNode | A constructor that takes text, image and dark mode image. |
TreeViewNode | A constructor that takes text, image, dark mode image and and true or false depending on if the node should have expander or not. |
DarkModeImage | Image to be used when in dark mode. |
FontBold | Set this property to true to let the node text be drawn bold faced. |
FontItalic | Set this property to true to let the node text be drawn italic faced. |
FontUnderline | Set this property to true to let the node text be drawn with text underline style. |
HasExpander | Use this property to force a node to have a expander even if it has no child nodes. |
HasTextColor | If set to true then TextColor property is active and will override Text color setting coming from the TreeView Control. |
Image | Sets or gets the node image. |
ItemData | A property to store custom data on the node. |
Text | Sets or gets the text of a node. |
TextColor | Sets the text color of a node. |
AddSubItem | Adds text to additional columns of the node. |
AddSubItem | Adds text and alignment to additional columns of the node. |
AppendNode | Appends a child node to the current node. |
Depth | Returns the depth of the node in the tree. |
Expanded | Returns true if the node is expanded. |
GetTextOffset | Returns x location where text starts to draw on a node, taking into account indents, expanders and icons. |
Index | Returns the Screen Index of the node. |
IndexOf | Finds a index of a child node relative to the parent. |
InsertNode | Inserts a child node at a given index to the current node. |
ItemAlignment | Sets or gets the alignment for a specific column. |
ItemText | Sets or gets the text for a specific column. |
Node | Returns a child node at a given index. |
NodeCount | Returns the count of child nodes. |
RemoveChild | Removes a child node. |
RemoveChildAt | Removes a child node at a index that is relative to the parent node. |
Selected | Returns true if the node is currently selected. |
SetExpanded | Expands or collapses the node. |
SetItemIndent | Sets Left or Right indent for the sub item |
SortNodes | Sorts children of the node, using compare delegate to compare the nodes. |
Swap | Swaps child nodes of the given node instance. |
NodeCompareDelegate (console safe) | Delegate to use for comparing when sorting TreeViewNodes. |
AlignmentValues | Enum that defines values for TreeViewNode alignments. |