/// <summary> /// Indexes the of. /// </summary> /// <param name="item">The item.</param> /// <returns></returns> public int IndexOf(ListItem item) { return List.IndexOf(item); }
/// <summary> /// Copies to. /// </summary> /// <param name="array">The array.</param> /// <param name="index">The index.</param> public void CopyTo(ListItem[] array, int index) { List.CopyTo(array, index); }
/// <summary> /// Determines whether [contains] [the specified item]. /// </summary> /// <param name="item">The item.</param> /// <returns> /// <c>true</c> if [contains] [the specified item]; otherwise, <c>false</c>. /// </returns> public bool Contains(ListItem item) { return List.Contains(item); }
/// <summary> /// Adds the specified item. /// </summary> /// <param name="item">The item.</param> public void Add(ListItem item) { List.Add(item); Parent.Controls.Add(item); }
/// <summary> /// Removes the specified item. /// </summary> /// <param name="item">The item.</param> public void Remove(ListItem item) { List.Remove(item); }
/// <summary> /// Inserts the specified index. /// </summary> /// <param name="index">The index.</param> /// <param name="item">The item.</param> public void Insert(int index, ListItem item) { List.Insert(index, item); }