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