Version

DataTreeNodeCollection Class Members

The following tables list the members exposed by DataTreeNodeCollection.

Public Constructors
Protected Fields
Public Properties
 NameDescription
Public PropertyCapacityGets or sets the number of elements that the System.Collections.CollectionBase can contain. (Inherited from System.Collections.CollectionBase)
Public PropertyCountGets the number of elements contained in the System.Collections.CollectionBase instance. This property cannot be overridden. (Inherited from System.Collections.CollectionBase)
Public PropertyIsReadOnlyReturns true if the collection is read-only (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Public PropertyItemGets or sets the element at the specified index.  
Public PropertyOwnerThis method is used primarily by control developers and derivations of existing controls. Each HierarchicalObjectCollection is owned by a HierarchicalUIObject. For example, a Nodes collection in a Tree is owned by a particular Node. The owner Node is then the Parent of each Node within the HierarchicalObjectCollection. The nodes at the root level of the tree are owned by a hidden Owner which is also referred to as the RootItem. In this way, the tree of HierarchicalObjectCollections is referred to as being single rooted. (Inherited from Infragistics.Web.UI.Framework.HierarchicalObjectCollection)
Protected Properties
 NameDescription
Protected PropertyHasViewStateJournal (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected PropertyInnerListGets an System.Collections.ArrayList containing the list of elements in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected PropertyListGets an System.Collections.IList containing the list of elements in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Public Methods
 NameDescription
Public MethodAddOverloaded. Adds a DataTreeNode to the Nodes collection  
Public MethodAddRangeAdds a range of items.  
Public MethodClearOverloaded. Clears the ObjectCollection of its contents and removes any associated Controls from the control tree. (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Public MethodContainsOverloaded. Determines whether the specified item is contained in the collection.  
Public MethodFindNavItemByKeyOverloaded. Locates an item based on its Key property value (Inherited from Infragistics.Web.UI.NavigationControls.NavItemCollection)
Public MethodFindNavItemByTextOverloaded. Locates an item based on its Text property value (Inherited from Infragistics.Web.UI.NavigationControls.NavItemCollection)
Public MethodFindNavItemByValueOverloaded. Locates an item based on its Value property value (Inherited from Infragistics.Web.UI.NavigationControls.NavItemCollection)
Public MethodFindNodeByKeyFinds the node by key.  
Public MethodFindNodeByTextFinds the node by text.  
Public MethodFindNodeByValueFinds the node by value.  
Public MethodGetEnumeratorReturns an enumerator that iterates through the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Public MethodIndexOfOverloaded. Returns the index of the specified item.  
Public MethodInsertInserts the specified item at the specified index.  
Public MethodMoveMoves the specified item at the specified index.  
Public MethodRemoveOverloaded. Removes the specified item.  
Public MethodRemoveAtRemoves the HierarchicalUIObject within the collection that corresponds to the supplied index. (Inherited from Infragistics.Web.UI.Framework.HierarchicalObjectCollection)
Public MethodSetDirtyMarks the ViewState of every object in the collection as Dirty so that it gets stored for round tripping to the client and back. (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected Methods
 NameDescription
Protected MethodCreateViewStateJournal (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodInternalAddAppends the object to the collection (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodInternalClearOverloaded. Clears the internal collection data structure (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodInternalMoveMoves an item from one index to another within the collection (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodInternalRemoveOverloaded. Removes an item from the collection (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodLoadViewState (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodLoadViewStateItems (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodOnClearClears associated Templates when the collection is cleared. (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodOnClearCompletePerforms additional custom processes after clearing the contents of the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnInsertPerforms additional custom processes before inserting a new element into the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnInsertCompleteThis method is used primarily by control developers and derivations of existing controls. Called by the framework when an object has been inserted, or added, to the collection. This method ensures that the inserted object has the appropriate owner assigned to it. (Inherited from Infragistics.Web.UI.Framework.HierarchicalObjectCollection)
Protected MethodOnRemoveClears associated Template when an object is removed from the collection. (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodOnRemoveCompletePerforms additional custom processes after removing an element from the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnSetPerforms additional custom processes before setting a value in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnSetCompletePerforms additional custom processes after setting a value in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnValidateValidates that the value is not null. (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodSaveViewState (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodSaveViewStateItems (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
See Also