APNSoft Controls [4.5.2.20] - API Reference
TreeViewElement Properties

The properties of the TreeViewElement class are listed below. For a complete list of TreeViewElement class members, see the TreeViewElement Members topic.

Public Instance Properties

AutoPostBackOnItemClick (inherited from APNSoftElement) Gets or sets a value indicating whether the control causes a postback to the server when the item is clicked.
Checked Gets or sets a value indicating whether the item is checked. Default value is false.
ChildElements Gets all the child elements of the element.
ClientSideOnItemClick (inherited from APNSoftElement) Gets or sets the name of the client-side function to be called when an item is clicked. Can include variables $ComponentID$, $ItemID$ and $Title$. Each variable is replaced to the corresponding value.
HasChildElements Gets a value indicating whether this element has any child elements.
HasNextSibling Gets a value indicating whether this element has a sibling element immediately following it.
HasParentElement Gets a value indicating whether this element has parent element.
HasPreviousSibling Gets a value indicating whether this element has a sibling element immediately preceding it.
href (inherited from APNSoftElement) Gets or sets URL the browser is directed to when a user clicks the item. Property value can include variables $ComponentID$, $ItemID$ and $Rnd$. Each variable is replaced to the corresponding value. The $Rnd$ displays a random number. It can be used as an additional parameter to avoid page caching in browser.
icon (inherited from APNSoftElement) Gets or sets the name of the one item's icon image. The icon displayed at the left side of the item.
iconHeight (inherited from APNSoftElement) Gets or sets the pixel height of the item's icon.
iconOpen Gets or sets the name of the icon for expanded item.
iconWidth (inherited from APNSoftElement) Gets or sets the pixel width of the item's icon.
id (inherited from APNSoftElement) Gets or sets a value that identifies the Element. If the id attribute is not specified, the component will automatically set it for each Element.
NextSibling Gets the element immediately following this element.
opened Gets or sets a value indicating whether the item is opened (expanded). Default value is false.
ParentElement Gets the parent of this element (for elements that can have parents).
PreviousSibling Gets the element immediately preceding this element.
selected Gets or sets a value indicating whether the item is selected. Default value is false.
target (inherited from APNSoftElement) Gets or sets the target window or frame to load Web page content into when a user clicks the item.
Template Gets or sets the path to the template file for the Element. The property value can be an absolute or relative URI.
title (inherited from APNSoftElement) Gets or sets the text (caption) displayed for the item.
Type (inherited from APNSoftElement) Gets or sets a type of the Element.

See Also

TreeViewElement Class | APNSoft.WebControls Namespace