Hevea documentation

TreeNode Members

TreeNode overview

Public Instance Constructors

TreeNode Constructor Constructor.

Public Instance Properties

AutoPostBack (inherited from WebComponent) Sets / gets the auto-postback.
EmptyValue (inherited from WebComponent) Gets the default value of the component (value when the object is not edited).
Enabled (inherited from WebComponent) Enables/disables a component; indicates if a component is enabled.
Expanded Gets / sets the node expanded status.
HasChild Indicates if the node has childs.
HasParent Indicates if a node has a parent.
Icon Gets / Sets the icon url to display for the current node.
Id (inherited from WebComponent) Gets the component identifier.
Mandatory (inherited from WebComponent) Makes the component mandatory or not / Indicates if the component is mandatory.
Name Gets the node name.
NextSibling Gets the next brother (sibling) of the node (null if the node has no sibling).
NodeId Gets the node identifier.
Owner (inherited from WebComponent) Gets / sets the page where the component is.
Path Gets the node path.
PathToRoot Gets the node list to root node.
Selected Sets / Indicates if the node is selected.
Visible (inherited from WebComponent) Gets / sets the component visibility.

Public Instance Methods

AddChild Adds a child node to the current node.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
ExpandAll Expands the descendant tree.
GetComponentById Gets a sub component by its identifier.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetNode Gets a node from its identifier
GetType (inherited from Object) Gets the Type of the current instance.
InitializeOverloaded. Component initialization.
Render Renders the component.
RenderJavascript Renders the component Javascript code.
RenderMandatory (inherited from WebComponent) Writes the Javascript code for mandatory component.
RenderState Gets the node status string.
RenderStyle Renders the component CSS style.
SetOnSelectedEventHandler Set the Select event handler.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

TreeNode Class | Hevea.Core.Http.Html.UI Namespace