TreeNode Class |
Namespace: Dynamicweb.Controls
The TreeNode type exposes the following members.
| Name | Description | |
|---|---|---|
| AdditionalCssClass |
Additioanl class of the node.
| |
| Checkable |
Gets or sets value indicating whether to enable check box in node.
| |
| Checked |
Is the node checked.
| |
| ContextMenuID |
ID of Dynamicweb.Controls.Contextmenu to display on right click.
| |
| Disabled |
Sets or gets whether this TreeNodes icon should be dimmed
| |
| DragAndDrop |
Gets drag and drop settings.
| |
| HasChildren |
Gets or sets value indicating whether this node has child nodes and should have 'Expand' icon.
| |
| Href |
Href or link for the node.
| |
| Icon |
Icon
| |
| IconColor |
Icon color
| |
| Image |
Image file to use as the icon. Uses default if not specified.
| |
| ImageClose |
Image file to use as the close icon. Uses FolderClosed if not specified.
| |
| ImageClosePath |
Path of icon used - can be used to overwrite the built-in icons in the ImageClose property.
| |
| ImageOpen |
Image file to use as the open icon. Uses Folder if not specified.
| |
| ImageOpenPath |
Path of icon used - can be used to overwrite the built-in icons in the ImageOpen property.
| |
| ImagePath |
Path of icon used - can be used to overwrite the built-in icons in the Image property.
| |
| ItemID |
Custom ItemID that can be used to set a unique reference to an object.
| |
| Name |
Name of the node.
| |
| NodeID |
ID of the node.
| |
| OnDoubleClick |
Sets or gets the ondblclick event on this node
| |
| Open |
Is the node open.
| |
| ParentID |
The parent ID of the node. Should be an ID that is in the tree or -1 for Root.
| |
| Target |
Target for the href.
| |
| Title |
Title for the node.
|
| Name | Description | |
|---|---|---|
| AdditionalAttributesDictionaryToString | ||
| CopyFrom |
Copies property values from the given node to the current node.
| |
| GetAttribute | ||
| Render |
Renders tree node.
| |
| SetAttribute |
Additional attributes for the tree node.
|