/// <summary> /// /// </summary> /// <param name="item"></param> /// <returns></returns> public void Remove(TabItem item) { this.m_Items.Remove(item); ; }
/// <summary> /// Add a TabItem object to the collection /// </summary> /// <param name="item"></param> public void Add(TabItem item) { item.Click += this.item_Click; this.m_Items.Add(item); this.m_Parent.TabStrip.ReAlignItems(); }
/// <summary> /// Get the index on the collection the specified TabItem /// </summary> /// <param name="item"></param> /// <returns></returns> public int IndexOf(TabItem item) { return this.m_Items.IndexOf(item); }
/// <summary> /// /// </summary> /// <param name="index"></param> /// <param name="item"></param> public void Insert(int index, TabItem item) { this.m_Items.Insert(index, item); }
/// <summary> /// /// </summary> /// <param name="item"></param> /// <returns></returns> public bool Contains(TabItem item) { return this.m_Items.Contains(item); }
/// <summary> /// /// </summary> /// <param name="array"></param> /// <param name="arrayIndex"></param> public void CopyTo(TabItem[] array, int arrayIndex) { this.m_Items.CopyTo(array, arrayIndex); }
/// <summary> /// Get the index on the collection the specified TabItem /// </summary> /// <param name="item"></param> /// <returns></returns> public int IndexOf(TabItem item) { return(this.m_Items.IndexOf(item)); }
/// <summary> /// /// </summary> /// <param name="item"></param> /// <returns></returns> public bool Contains(TabItem item) { return(this.m_Items.Contains(item)); }