WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeNodeAdvSubItemCollection

    Show / Hide Table of Contents

    Class TreeNodeAdvSubItemCollection

    Represents a sub item collection of the TreeNodeAdv objects.

    Inheritance
    System.Object
    System.Collections.CollectionBase
    TreeNodeAdvSubItemCollection
    Implements
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    System.ICloneable
    Inherited Members
    System.Collections.CollectionBase.Clear()
    System.Collections.CollectionBase.RemoveAt(System.Int32)
    System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
    System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Add(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, System.Object)
    System.Collections.CollectionBase.GetEnumerator()
    System.Collections.CollectionBase.OnSet(System.Int32, System.Object, System.Object)
    System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)
    System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)
    System.Collections.CollectionBase.InnerList
    System.Collections.CollectionBase.List
    System.Collections.CollectionBase.Capacity
    System.Collections.CollectionBase.Count
    System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
    System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
    System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
    System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
    System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Tools.MultiColumnTreeView
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class TreeNodeAdvSubItemCollection : CollectionBase, IList, ICollection, IEnumerable, ICloneable

    Constructors

    TreeNodeAdvSubItemCollection(TreeNodeAdv)

    Initialize a new instance of the TreeNodeAdvSubItemCollection class.

    Declaration
    public TreeNodeAdvSubItemCollection(TreeNodeAdv node)
    Parameters
    Type Name Description
    TreeNodeAdv node

    It contains the node value.

    Properties

    Item[Int32]

    Gets or sets the collection items by index.

    Declaration
    public TreeNodeAdvSubItem this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index

    Treenode index

    Property Value
    Type Description
    TreeNodeAdvSubItem

    TreeNode

    Declaration
    protected TreeNodeAdv TreeNode { get; }
    Property Value
    Type Description
    TreeNodeAdv

    Methods

    Add(TreeNodeAdvSubItem)

    Adds a TreeNodeAdvSubItem to the collection.

    Declaration
    public int Add(TreeNodeAdvSubItem subitem)
    Parameters
    Type Name Description
    TreeNodeAdvSubItem subitem

    The TreeNodeAdvSubItem to add.

    Returns
    Type Description
    System.Int32

    The position of the added subitem in the list.

    AddRange(TreeNodeAdvSubItem[])

    Adds an array of TreeNodeAdvSubItem objects to the collection.

    Declaration
    public void AddRange(TreeNodeAdvSubItem[] subitems)
    Parameters
    Type Name Description
    TreeNodeAdvSubItem[] subitems

    An array of TreeNodeAdvSubItem objects to the collection.

    AddRange(ICollection)

    Adds a TreeNodeAdvSubItem objects to the collection.

    Declaration
    public void AddRange(ICollection subitems)
    Parameters
    Type Name Description
    System.Collections.ICollection subitems

    An array of TreeNodeAdvSubItem objects to the collection.

    Clone()

    Returns the cloned TreeNodeAdvSubItemCollection.

    Declaration
    public TreeNodeAdvSubItemCollection Clone()
    Returns
    Type Description
    TreeNodeAdvSubItemCollection

    Contains(TreeNodeAdvSubItem)

    Check whether the TreeNodeAdvSubItemcollection contains TreeNodeAdvSubItem

    Declaration
    public bool Contains(TreeNodeAdvSubItem subitem)
    Parameters
    Type Name Description
    TreeNodeAdvSubItem subitem

    The TreeNodeSubItem instance.

    Returns
    Type Description
    System.Boolean

    CreateItem()

    Creates a new item of the TreeNodeAdvSubItem colection.

    Declaration
    public TreeNodeAdvSubItem CreateItem()
    Returns
    Type Description
    TreeNodeAdvSubItem

    IndexOf(TreeNodeAdvSubItem)

    Returns the index of the TreeNodeAdvSubItem.

    Declaration
    public int IndexOf(TreeNodeAdvSubItem subitem)
    Parameters
    Type Name Description
    TreeNodeAdvSubItem subitem

    The TreeNodeAdvSubItem instance.

    Returns
    Type Description
    System.Int32

    Insert(Int32, TreeNodeAdvSubItem)

    Inserts an items to the list at the specified index.

    Declaration
    public void Insert(int index, TreeNodeAdvSubItem subitem)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index at which item should be inserted.

    TreeNodeAdvSubItem subitem

    An array of TreeNodeAdvSubItem objects to the collection.

    OnClear()

    Saves first reference on first SubItem

    Declaration
    protected override void OnClear()
    Overrides
    System.Collections.CollectionBase.OnClear()

    OnClearComplete()

    Declaration
    protected override void OnClearComplete()
    Overrides
    System.Collections.CollectionBase.OnClearComplete()

    OnInsertComplete(Int32, Object)

    Declaration
    protected override void OnInsertComplete(int index, object value)
    Parameters
    Type Name Description
    System.Int32 index
    System.Object value
    Overrides
    System.Collections.CollectionBase.OnInsertComplete(System.Int32, System.Object)

    OnRemoveComplete(Int32, Object)

    Declaration
    protected override void OnRemoveComplete(int index, object value)
    Parameters
    Type Name Description
    System.Int32 index
    System.Object value
    Overrides
    System.Collections.CollectionBase.OnRemoveComplete(System.Int32, System.Object)

    OnSetComplete(Int32, Object, Object)

    Declaration
    protected override void OnSetComplete(int index, object oldValue, object newValue)
    Parameters
    Type Name Description
    System.Int32 index
    System.Object oldValue
    System.Object newValue
    Overrides
    System.Collections.CollectionBase.OnSetComplete(System.Int32, System.Object, System.Object)

    OnValidate(Object)

    Method check correctness of input parameters.

    Declaration
    protected override void OnValidate(object value)
    Parameters
    Type Name Description
    System.Object value

    parameter to check.

    Overrides
    System.Collections.CollectionBase.OnValidate(System.Object)

    Remove(TreeNodeAdvSubItem)

    Remove the TreeNodeAdvSubItem objects from the collection.

    Declaration
    public void Remove(TreeNodeAdvSubItem subitem)
    Parameters
    Type Name Description
    TreeNodeAdvSubItem subitem

    An array of TreeNodeAdvSubItem objects to the collection.

    SetParent(TreeNodeAdv)

    Declaration
    protected void SetParent(TreeNodeAdv node)
    Parameters
    Type Name Description
    TreeNodeAdv node

    ToArray()

    Create an array of items instead of sizable collection.

    Declaration
    public TreeNodeAdvSubItem[] ToArray()
    Returns
    Type Description
    TreeNodeAdvSubItem[]

    Copy of items from collection to array.

    Events

    CollectionChanged

    Occurs when the collection changed from TreeNodeAdv subitem collection.

    Declaration
    public event CollectionChangeEventHandler CollectionChanged
    Event Type
    Type Description
    System.ComponentModel.CollectionChangeEventHandler

    Explicit Interface Implementations

    ICloneable.Clone()

    Declaration
    object ICloneable.Clone()
    Returns
    Type Description
    System.Object

    Implements

    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    System.ICloneable

    Extension Methods

    EnumerableExtensions.GetElementType(IEnumerable)
    EnumerableExtensions.GetItemPropertyInfo(IEnumerable)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    FunctionalExtensions.MoveTo(IList, Int32, Int32)
    QueryableExtensions.OfQueryable(IEnumerable)
    QueryableExtensions.OfQueryable(IEnumerable, Type)
    QueryableExtensions.GroupByMany<TElement>(IEnumerable, Type, List<Func<TElement, Object>>)
    QueryableExtensions.GroupByMany(IEnumerable, Type, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Dictionary<String, IComparer<Object>>, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Func<String, Expression>, String[])
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved