APNSoft Controls [4.5.2.20] - API Reference
TreeViewElement Members

TreeViewElement overview

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.

Public Instance Methods

AddChildOverloaded. Adds a new element to the end of the list of child elements.
AddChildItemOverloaded. Adds a new item to the end of the list of child elements.
AddChildSeparatorOverloaded. Adds a new separator to the end of the list of child elements.
AddSiblingOverloaded. Adds a new element as a sibling to the current element. New element is added after the current element.
AddSiblingItemOverloaded. Adds a new item as a sibling to the current element. New item is added after the current element.
AddSiblingSeparatorOverloaded. Adds a new separator as a sibling to the current element. New separator is added after the current element.
CloneOverloaded. Creates a duplicate of this element. Child elements are not duplicated.
CloneToParentOverloaded. Creates a duplicate of this element. Inserts the duplicated element to specified parent element. Child elements are not duplicated.
CloneToRootOverloaded. Creates a duplicate of this element. Inserts the duplicated element to the root of collection. Child elements are not duplicated.
MoveBackward (inherited from APNSoftElement) Moves the element backward by one position in the current element group.
MoveForward (inherited from APNSoftElement) Moves the element forward by one position in the current element group.
MoveToParent Moves the element to specified parent element.
MoveToRoot Moves the element to the root.
Remove (inherited from APNSoftElement) Removes specified element from the collection.
RemoveChilds Removes child elements.

See Also

TreeViewElement Class | APNSoft.WebControls Namespace