Site Map | About Us | Contact Us  
 The same content in Microsoft HTML help file format is included in the download package.

TreeNode Members

TreeNode overview

Public Instance Constructors

TreeNode Overloaded. Initializes a new instance of the TreeNode class.

Public Instance Properties

AllowDrag Gets or sets a value indicating whether user can drag this node.
AllowDrop Gets or sets a value indicating whether user can drop another node on to this node.
AllowEdit Gets or sets a value indicating whether user can edit the tree node text.
AllowRoles (inherited from NavigationItem) Specifies a list of roles that are allowed to access this item.
CausesValidation (inherited from NavigationItem) Gets or sets a value indicating whether clicking this item will cause server side validation to be performed.
Checked Specifies if the TreeNode is checked or unchecked.
CheckState Specifies the value indicating if a tree node is in a Checked, Unchecked or Indeterminate state.
ChildNodes Returns a collection of sub tree nodes.
CollapsedImageUrl Specifies the URL of an image associated with this TreeNode when the tree node is collapsed. The image will be displayed to the left of TreeNode's Text.
CustomItem (inherited from NavigationItem) Returns an ITemplate object that is used to define an embedded custom item on Aspx page for data binding.
CustomItemID (inherited from NavigationItem) Gets or sets the custom item ID.
CustomItemInstance (inherited from NavigationItem) Gets the embedded custom item instance associated with this navigation item.
DataItem (inherited from NavigationItem) Gets the data item that is bound to this item.
Disabled (inherited from NavigationItem) Gets or sets a boolean value indicating whether this item is disabled.
DisabledStyle (inherited from NavigationItem) Gets or sets the style to control item appearance when the item is in "Disabled" state.
Expanded (inherited from NavigationItem) Gets or sets a boolean indicating if the item is expanded.
ExpandedImageUrl Specifies the URL of an image associated with this TreeNode when the tree node is expanded. The image will be displayed to the left of TreeNode's Text.
ExpandedStyle (inherited from NavigationItem) Gets and sets the style to control an item's appearance when the item expands its children items.
Height (inherited from NavigationItem) TGets or sets the item height in pixel.
HoverStyle (inherited from NavigationItem) Gets and sets the style to control an item's appearance when the item is in "Hover" state, that is, when mouse is over the item.
ImageUrl Specifies the URL of an image associated with this TreeNode. The image will be displayed to the left of TreeNode's Text.
Index (inherited from NavigationItem) Gets the index of the item.
IsLeafNode Returns whether this node is a leaf node.
IsLookItem (inherited from NavigationItem) Gets a boolean value indicating if this item is used as a look item.
IsSeparator (inherited from NavigationItem) Gets or sets a boolean value indicating whether this item is a separator.
ItemID (inherited from NavigationItem) Gets or sets the ID for this item.
Level (inherited from NavigationItem) Gets the depth level of the item.
LineImageUrl Specifies the URL used to override the default line image for this tree node.
LookID (inherited from NavigationItem) Gets or sets the ID of the look item.
MarginImageUrl Specifies the URL of an image associated with this TreeNode. The image will be displayed on the left margin of the TreeView whenever the tree node is visible.
NavigateUrl (inherited from NavigationItem) Gets or sets the URL to navigate when the item is clicked.
NormalStyle (inherited from NavigationItem) Gets and sets the style of a item's appearance when the item is in "Normal" state.
OnClickScript (inherited from NavigationItem) Gets or sets the client side JavaScript code to be executed when this item is clicked.
PageViewID (inherited from NavigationItem) Gets or sets the ID of the PageView control to display when this item is selected.
ParentNavigationItem (inherited from NavigationItem) Returns an object representing the parent navigation item.
ParentNode Gets the parent TreeNode that contains this TreeNode.
Path (inherited from NavigationItem) Gets or sets the string of delimited item IDs that form the path from the root item to the current item.
PopulateOnDemand Populates a group of tree nodes only when the parent node is expanded.
RaisesServerEvent (inherited from NavigationItem) Gets or sets a value indicating whether the server side event should be raised when this item is clicked.
Selected (inherited from NavigationItem) Gets or sets a boolean value indicating whether the item is in "Selected" state.
SelectedExpandedStyle (inherited from NavigationItem) Gets and sets the style to control an item's appearance when the item is in both "Selected" and "Expanded" state.
SelectedHoverStyle (inherited from NavigationItem) Gets and sets the style to control an item's appearance when the item is in both "Selected" and "Hover" state.
SelectedStyle (inherited from NavigationItem) Gets and sets the style to control an item's appearance when the item is in "Selected" state.
Shortcut (inherited from NavigationItem) Gets or sets the Shortcut structure that is used to define keyboard shortcut for an item.
ShowCheckBox Gets or sets a value indicating whether or not to display appropriate checkbox when CheckState changes.
Status (inherited from NavigationItem) Gets or sets the text string to be displayed at the browser's status bar when the mouse is positioned over the item.
SubGroup Gets subgroup of a TreeNode.
TargetWindow (inherited from NavigationItem) Gets or sets the target window to display NavigateUrl.
Text Specifies the HTML text of this TreeNode.
TextMargin Specifies the left margin of the text. Use this property to adjust the space left to the Text.
ToolTip (inherited from NavigationItem) Gets or sets the tooltip string to be displayed when the mouse is positioned over the item.
Value (inherited from NavigationItem) Gets or sets the value of the item.
Visible (inherited from NavigationItem) Gets or sets a value indicating whether this item is visible.
Width (inherited from NavigationItem) Gets or sets the item width in pixel.

Public Instance Methods

EnsureVisible Scrolls the TreeView so that this node is visible.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
ExpandAll Expands this node and all child nodes.
ExpandPath Expands all the parent nodes of this node.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
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 | EO.Web Namespace


Direct link to this topic