Class CheckedNodesCollection
Represents checked nodes in treeView. Use Add or Remove methods to add or remove nodes. These methods will check or uncheck proceed nodes automatically. Use Clear method to delete and uncheck all nodes from collection.
Inheritance
System.Object
System.Collections.ArrayList
CheckedNodesCollection
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
System.ICloneable
Inherited Members
System.Collections.ArrayList.Adapter(System.Collections.IList)
System.Collections.ArrayList.AddRange(System.Collections.ICollection)
System.Collections.ArrayList.BinarySearch(System.Int32, System.Int32, System.Object, System.Collections.IComparer)
System.Collections.ArrayList.BinarySearch(System.Object)
System.Collections.ArrayList.BinarySearch(System.Object, System.Collections.IComparer)
System.Collections.ArrayList.Capacity
System.Collections.ArrayList.Clone()
System.Collections.ArrayList.Contains(System.Object)
System.Collections.ArrayList.CopyTo(System.Array)
System.Collections.ArrayList.CopyTo(System.Array, System.Int32)
System.Collections.ArrayList.CopyTo(System.Int32, System.Array, System.Int32, System.Int32)
System.Collections.ArrayList.Count
System.Collections.ArrayList.FixedSize(System.Collections.ArrayList)
System.Collections.ArrayList.FixedSize(System.Collections.IList)
System.Collections.ArrayList.GetEnumerator()
System.Collections.ArrayList.GetEnumerator(System.Int32, System.Int32)
System.Collections.ArrayList.GetRange(System.Int32, System.Int32)
System.Collections.ArrayList.IndexOf(System.Object)
System.Collections.ArrayList.IndexOf(System.Object, System.Int32)
System.Collections.ArrayList.IndexOf(System.Object, System.Int32, System.Int32)
System.Collections.ArrayList.IsSynchronized
System.Collections.ArrayList.LastIndexOf(System.Object)
System.Collections.ArrayList.LastIndexOf(System.Object, System.Int32)
System.Collections.ArrayList.LastIndexOf(System.Object, System.Int32, System.Int32)
System.Collections.ArrayList.ReadOnly(System.Collections.ArrayList)
System.Collections.ArrayList.ReadOnly(System.Collections.IList)
System.Collections.ArrayList.Repeat(System.Object, System.Int32)
System.Collections.ArrayList.Reverse()
System.Collections.ArrayList.SetRange(System.Int32, System.Collections.ICollection)
System.Collections.ArrayList.Sort()
System.Collections.ArrayList.Sort(System.Collections.IComparer)
System.Collections.ArrayList.Synchronized(System.Collections.ArrayList)
System.Collections.ArrayList.Synchronized(System.Collections.IList)
System.Collections.ArrayList.SyncRoot
System.Collections.ArrayList.ToArray()
System.Collections.ArrayList.ToArray(System.Type)
System.Collections.ArrayList.TrimToSize()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class CheckedNodesCollection : ArrayListExt, IList, ICollection, IEnumerable, ICloneable
Constructors
CheckedNodesCollection()
Initialize a new instance of CheckNodesCollection class.
Declaration
public CheckedNodesCollection()
Properties
Item[Int32]
Gets a specified index in CheckedNodesCollection.
Declaration
public TreeNodeAdv this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type |
---|
TreeNodeAdv |
Methods
Add(Object)
Overridden. Adds the specified node to the collection and checks it.
Declaration
public override int Add(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |
Returns
Type |
---|
System.Int32 |
Overrides
AddNodes(TreeNodeAdvCollection)
Adds checked nodes from the collection to the list of checked nodes.
Declaration
public void AddNodes(TreeNodeAdvCollection nodes)
Parameters
Type | Name | Description |
---|---|---|
TreeNodeAdvCollection | nodes |
Clear()
Overridden. Clears node from collection.
Declaration
public override void Clear()
Overrides
Remove(Object)
Overridden. Removes specified node from collection and unchecks it.
Declaration
public override void Remove(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Overrides
System.Collections.ArrayList.Remove(System.Object)
RemoveNodes(TreeNodeAdvCollection)
Removes checked nodes in the specified collection from the list of checked nodes.
Declaration
public void RemoveNodes(TreeNodeAdvCollection nodes)
Parameters
Type | Name | Description |
---|---|---|
TreeNodeAdvCollection | nodes |
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
System.ICloneable