TreeBase Class

Abstract base class for TreeNodes and TreeNodeTypes.

Syntax

Visual Basic MustInherit  Public  Class TreeBase Inherits BaseChildNode
C# public   abstract  class TreeBase : BaseChildNode
Managed C++ public:  __gc __abstract  class TreeBase :  public BaseChildNode
JScript public   abstract  class TreeBase extends BaseChildNode

Inheritance Hierarchy

Object::BaseChildNode

Members Table

The following table lists the members exposed by the TreeBase object.

Attribute Property Description
CHECKBOX CheckBox Sets or retrieves a value that indicates whether to display a check box next to the nodes in a tree.
CHILDTYPE ChildType Sets or retrieves the type of TreeNodeType to use for all descendents.
DEFAULTSTYLE DefaultStyle Sets or retrieves a value that indicates the default style for the element.
EXPANDEDIMAGEURL ExpandedImageUrl Sets or retrieves the URL of an image to use for expanded nodes.
HOVERSTYLE HoverStyle Sets or retrieves a value that indicates the style of the element when the user hovers the keyboard focus or mouse pointer over it.
IMAGEURL ImageUrl Sets or retrieves a value that indicates the URL of the image to be displayed on a node or toolbar item.
Parent Retrieves the parent object of a node.
SELECTEDIMAGEURL SelectedImageUrl Sets or retrieves the URL of an image to use for a selected node or TAB.
SELECTEDSTYLE SelectedStyle Sets or retrieves a value that indicates the style for the selected element.
TARGET Target Sets or retrieves a value that indicates the window or frame at which to target the contents.
Method Description
AddAttributesToRender Adds attributes to the HtmlTextWriter object.
Clone Creates a new object that is a copy of the current instance.
LoadViewState Loads the item's previously saved view state.
RenderDesignerPath Implements the rendering path for the Microsoft Visual Studio .NET Editor.
RenderDownLevelPath Implements the downLevel rendering path in this method.
RenderUpLevelPath Implements the uplevel rendering path for this method.
SaveViewState Saves changes to the item's view state to an object.
SetViewStateClean Sets all items within the StateBag to be clean.
SetViewStateDirty Sets all items within the StateBag to be dirty.
TrackViewState Instructs the control to track changes to its view state.

Class Information

Namespace Microsoft.Web.UI.WebControls
Assembly Microsoft.Web.UI.WebControls.dll

See Also

Internet Explorer WebControls, About the TreeView WebControl