TREENODETYPE Element | TreeNodeType Class

Adds a TreeNodeType element to a ASP.NET Web Form.

Syntax

ASP <tagPrefix:TREENODETYPE ... >

Possible Values

tagPrefix Required. The element prefix associated with the WebControls namespace (Microsoft.Web.UI.WebControls). A TagPrefix is defined using the directive.

Remarks

This element represents a node type and sets attributes to apply to a node or a group of nodes.

This element is a block element.

This element requires a closing tag.

Members Table

The following table lists the members exposed by the TreeNodeType 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.
EXPANDABLE Expandable Sets or retrieves a value that indicates whether a plus-sign image displays on a node.
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.
ID ID Sets or retrieves a value that indicates the string that identifies the object.
IMAGEURL ImageUrl Sets or retrieves a value that indicates the URL of the image to be displayed on a node or toolbar item.
NAVIGATEURL NavigateUrl Sets or retrieves the URL of the page to navigate to when the user clicks a node.
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.
TYPE Type Sets or retrieves the name of the node type.
Method Description
ToString Retrieves a System.String that indicates the current object.

Class Information

Namespace Microsoft.Web.UI.WebControls

Applies To

TREEVIEW

See Also

Internet Explorer WebControls, About the TreeView WebControl