Click or drag to resize
KaxTreeNodeCollection Class
A collection of KaxTreeNode objects in a KaxTreeView control.
Inheritance Hierarchy
SystemObject
  System.Web.UIStateManagedCollection
    Kettic.AspNet.ControlsControlItemCollection
      Kettic.AspNet.ControlsKaxTreeNodeCollection

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public class KaxTreeNodeCollection : ControlItemCollection

The KaxTreeNodeCollection type exposes the following members.

Constructors
  NameDescription
Public methodKaxTreeNodeCollection
Initializes a new instance of the KaxTreeNodeCollection class.
Top
Methods
  NameDescription
Public methodCode exampleAdd
Appends the specified KaxTreeNode object to the end of the current KaxTreeNodeCollection.
Public methodCode exampleAddRange
Appends the specified array of KaxTreeNode objects to the end of the current KaxTreeNodeCollection.
Public methodContains
Determines whether the specified KaxTreeNode object is in the current KaxTreeNodeCollection.
Public methodCopyTo
Copies the KaxTreeNode instances stored in the current KaxTreeNodeCollection object to an System.Array object, beginning at the specified index location in the System.Array.
Public methodCode exampleFindNode
Returns the first KaxTreeNode that matches the conditions defined by the specified predicate. The predicate should returns a boolean value.
Public methodFindNodeByAttribute
Searches the nodes in the collection for a KaxTreeNode which contains the specified attribute and attribute value.
Public methodFindNodeByText(String)
Searches all nodes for a KaxTreeNode with a Text property equal to the specified text.
Public methodFindNodeByText(String, Boolean)
Searches all nodes for a KaxTreeNode with a Text property equal to the specified text.
Public methodFindNodeByValue(String)
Searches all nodes for a KaxTreeNode with a Value property equal to the specified value.
Public methodFindNodeByValue(String, Boolean)
Searches all nodes for a KaxTreeNode with a Value property equal to the specified value.
Public methodIndexOf
Determines the index of the specified KaxTreeNode object in the collection.
Public methodInsert
Inserts the specified KaxTreeNode object in the current KaxTreeNodeCollection at the specified index location.
Public methodRemove
Removes the specified KaxTreeNode object from the current KaxTreeNodeCollection.
Public methodRemoveAt
Removes the KaxTreeNode object at the specified index from the current KaxTreeNodeCollection.
Top
Properties
  NameDescription
Public propertyItem
Gets the KaxTreeNodeobject at the specified index in the current KaxTreeNodeCollection.
Top
Remarks
The KaxTreeNodeCollection class represents a collection of KaxTreeNode objects.
  • Use the indexer to programmatically retrieve a single KaxTreeNode from the collection, using array notation.
  • Use the Count property to determine the total number of menu items in the collection.
  • Use the Add method to add nodes in the collection.
  • Use the Remove method to remove nodes from the collection.
See Also