/// <summary> /// Indexes the of. /// </summary> /// <param name="item">The item.</param> /// <returns></returns> public int IndexOf(AccordionPane item) { return(List.IndexOf(item)); }
/// <summary> /// Removes the specified tab. /// </summary> /// <param name="Tab">The tab.</param> public void Remove(AccordionPane Pane) { List.Remove(Pane); }
/// <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(AccordionPane Pane) { return(List.Contains(Pane)); }
/// <summary> /// Adds the specified tab. /// </summary> /// <param name="Tab">The tab.</param> public void Add(AccordionPane Pane) { List.Add(Pane); Parent.Controls.Add(Pane); }