ESRI.ArcGIS.ADF.Web.UI.WebControls
TreeViewPlusNode Class Members
See Also  Properties  Methods 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace : TreeViewPlusNode Class




The following tables list the members exposed by TreeViewPlusNode.

Public Constructors

 NameDescription
Public ConstructorTreeViewPlusNode ConstructorOverloaded. Constructor.  
Top

Public Properties

 NameDescription
Public PropertyAllowTextWrap Whether to allow text on the node to wrap to the width of the containing control.  
Public PropertyAlwaysShowExpandCollapseButton Whether to display the expand/collapse button for the node, even if the node has no child nodes. Default is false.  
Public PropertyAttributes Attributes to be rendered on this node  
Public PropertyBackColorBackground color of the control.  
Public PropertyCheckedWhether the check-box on the node is checked.  
Public PropertyChildContainerAttributes Attributes to be rendered on the container that holds child nodes  
Public PropertyClickBehavior The type of behavior for the node: Click (default), Link, Selectable, ExpandCollapse, and None.  
Public PropertyCustomLegendOnClick Custom action to perform when the legend is clicked. Overrides the default behavior that triggers the TreeViewPlus.NodeLegendClicked event.  
Public PropertyCustomOnClick Sets the onclick behavior for the node text to a custom string, overriding the default behavior.  
Public PropertyDataData object associated with this node.  
Public PropertyDepth Read-only property that indicates the level of this node in the TreeViewPlus node hierarchy.  
Public PropertyEndRecordThe ending node item displayed on the current page display for the node.  
Public PropertyExpandedWhether the node is currently expanded to display its child nodes.  
Public PropertyHideNodeShowChildren If true, the node is hidden and its children are rendered at the level of the node.  
Public PropertyLegendCollapsedImageImage to display when legend is collapsed for the node.  
Public PropertyLegendExpandedImageImage to show when legend is expanded for the node.  
Public PropertyNodeIDUnique ID for the node assigned by the server.  
Public PropertyNodesThe collection of child nodes of the current node.  
Public PropertyNonInteractive Show only text (and legend image if any) taken from parent TreeViewPlus. Expand/collapse, checkboxes and mouse events will not be generated.  
Public PropertyNumberOfPages Read-only property for the total number of pages for the node, based on the number of nodes and the PageSize.  
Public PropertyOffsetRead-only property for the horizontal offset of the node from its StartingPosition due to collapse/expand image, check-box, etc.  
Public PropertyPageNumberCurrent page number of the node display.  
Public PropertyPageSizeNumber of child nodes to display per page.  
Public PropertyPagingTextFormatString The format string that defines how paging text appears. The fields are page starting record, page ending record, total record count, current page number and, number of pages.  
Public PropertyParentThe parent node of the current node.  
Public PropertyShowCheckBox Whether to display a check-box to the left side of the node. Default is true.  
Public PropertyShowClearButton Whether to show a clear button (x) for the node. If clicked, the button removes the node from the tree.  
Public PropertyStartingPosition Read-only property for the starting horizontal offset of the node.  
Public PropertyStartRecordThe starting node item displayed on the current page display for the node.  
Public PropertyStyleAttributes Style attributes to be rendered on this node  
Public PropertyTextText to display at the head of the node.  
Public PropertyTextCellAttributesAttributes to add to the cell that contains the Text for the node.  
Public PropertyTextCellStyleAttributesStyle attributes to add to the cell that contains the Text for the node.  
Public PropertyToolTipTool tip text to display when the user hovers over the node.  
Public PropertyTreeViewPlus The TreeViewPlus control to which the node (or its parents) have been added.  
Public PropertyValueValue for the node.  
Public PropertyValuePathFull path to the node including value properties of any parent nodes.  
Top

Protected Properties

 NameDescription
Protected PropertyChildrenContainerIDID of children container.  
Protected PropertyHoverColorHover color.  
Protected PropertySelectedColorColor for selected items.  
Protected PropertyShowLegendWhether to show legend.  
Protected PropertyTextCellIDID of text cell.  
Top

Public Methods

 NameDescription
Public MethodAreChildrenValid Method that should only be used when the TreeViewPlus container for the nodes is using RenderOnDemand. This function returns a value indicating if the child nodes have not been rendered or they have been invalidated since last render.  
Public MethodCloneOverloaded. Clones the node and all child nodes, if any.  
Public MethodEnsureVisible Expands the parent node(s) of the current node so that the current node is visible.  
Public MethodInvalidateChildNodes Method that should only be used when the TreeViewPlus container for the nodes is using RenderOnDemand. This function will invalidate the child nodes so that the next time that Render is called, this node will re-render the child nodes down to the client.  
Public MethodRefreshRefreshes the nodes and its children.  
Public MethodRemoveRemoves this node from its parent's node collection.  
Public MethodRender Renders the control to the specified HTML writer.  
Top

Protected Methods

 NameDescription
Protected MethodAddAttributesToRender Adds HTML attributes and styles that need to be rendered to the specified System.Web.UI.HtmlTextWriter. This method is used primarily by control developers.  
Protected MethodanySiblingHasChildrenWhether any sibling node has child nodes.  
Protected MethodRenderBeginChildrenContainerRenders the beginning of the container for child nodes.  
Protected MethodRenderBeginTagRenders the begin tag of the node.  
Protected MethodRenderChildrenRenders the node's children.  
Protected MethodRenderEndChildrenContainerRenders the ending of the container for child nodes.  
Protected MethodRenderEndTagRenders the ending tag of the node.  
Protected MethodRenderNodeRenders the node.  
Protected MethodRenderPagingRenders node paging.  
Protected MethodRenderPostTextCellRenders any cell post-text.  
Protected MethodRenderPreTextCellRenders any cell pre-text.  
Protected MethodRenderTextCellRenders the node cell text.  
Protected MethodsetParentSets the parent node container.  
Protected MethodsetTreeViewPlusSets the tree view of the node.  
Top

See Also

© 2010 All Rights Reserved.